DRF Serializers

Orchestrator serializers.

class smarter.apps.orchestrator.serializers.OrchestratorSerializer(*args, **kwargs)[source]

Bases: MetaDataWithOwnershipModelSerializer

Serializer for the smarter.apps.orchestrator.models.Orchestrator model.

get_fields()[source]

Return the serializer’s fields, all of them read-only.

Returns:

The fields, by name.

get_manifest_url(obj)[source]

The URL of the Orchestrator’s detail view, which renders its manifest.

Return type:

str