Skip to content

AvailableActionsField

init {#init}

When a field is instantiated, we store the arguments that were used, so that we can present a helpful representation of the object.

Signature {#init-signature}

__init__(cls, args, kwargs)

Parameters {#init-parameters}

NameTypeRequiredDescription
clsyes
argsyes
kwargsyes

Source {#init-source}

.venv/lib/python3.11/site-packages/rest_framework/fields.py:614

get_attribute

Given the outgoing object instance, return the primitive value that should be used for this field.

Signature

get_attribute(self, instance)

Parameters

NameTypeRequiredDescription
selfyes
instanceyes

Source

server/vueda/core/serializers/fields.py:86

get_value

Given the incoming primitive data, return the value for this field that should be validated and transformed to a native value.

Signature

get_value(self, instance)

Parameters

NameTypeRequiredDescription
selfyes
instanceyes

Source

server/vueda/core/serializers/fields.py:38

run_child_validation

Signature

run_child_validation(self, data)

Parameters

NameTypeRequiredDescription
selfyes
datayes

Source

server/vueda/core/serializers/fields.py:95

to_internal_value

List of dicts of native values <- List of dicts of primitive datatypes.

Signature

to_internal_value(self, data)

Parameters

NameTypeRequiredDescription
selfyes
datayes

Source

server/vueda/core/serializers/fields.py:89

to_representation

List of object instances -> List of dicts of primitive datatypes.

Signature

to_representation(self, data)

Parameters

NameTypeRequiredDescription
selfyes
datayes

Source

server/vueda/core/serializers/fields.py:92

Source

server/vueda/core/serializers/fields.py:27

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2