WorkflowFieldsSerializerMixin
Overview
Adds the workflow fields to a serializer whose model enables class Vueda.Workflow.
It sits just above ModelSerializer, below flex-fields, so ?f= and ?omit= select the workflow fields the same way they select a model field. A workflow field the serializer declares itself replaces the default and does not have to be listed in Meta.fields.
get_field_names
Signature
get_field_names(self, declared_fields, info)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes | |||
| declared_fields | yes | |||
| info | yes |
Source
server/vueda/core/serializers/__init__.py:943
get_fields
Signature
get_fields(self)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| self | yes |
Source
server/vueda/core/serializers/__init__.py:958
Source
server/vueda/core/serializers/__init__.py:934