Skip to content

ModelInfoFilterSerializer ​

Overview ​

The BaseSerializer class provides a minimal class which may be used for writing custom serializer implementations.

Note that we strongly restrict the ordering of operations/properties that may be used on the serializer in order to enforce correct usage.

In particular, if a data= argument is passed then:

.is_valid() - Available. .initial_data - Available. .validated_data - Only available after calling is_valid() .errors - Only available after calling is_valid() .data - Only available after calling is_valid()

If a data= argument is not passed then:

.is_valid() - Not available. .initial_data - Not available. .validated_data - Not available. .errors - Not available. .data - Available.

app_label ​

choices ​

decimal_places ​

empty_label ​

empty_value ​

error_messages ​

filterset_name ​

help_text ​

hidden ​

input_formats ​

input_type ​

label ​

lookup_exprs ​

max_digits ​

max_length ​

max_value ​

min_length ​

min_value ​

model ​

null_label ​

null_value ​

required ​

step ​

suffixes ​

type_db ​

type_filter ​

type_model ​

validators ​

Source ​

.venv/lib/python3.12/site-packages/rest_framework/fields.py:380

Source ​

server/vueda/info/schema.py:168