ExtraOwned
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| mode | [SerMode](sermode.md?sid=serializers_extra_sermode) | The serialization mode used to determine how data is converted to its output format. |
| warnings | [CollectWarnings](collectwarnings.md?sid=serializers_extra_collectwarnings) | The strategy for collecting and handling warnings encountered during the serialization process. |
| by_alias | bool | Determines whether to use field aliases instead of attribute names if defined. |
| exclude_unset | bool | Whether to exclude fields that were not explicitly set during model initialization. |
| exclude_defaults | bool | Whether to exclude fields that contain their default values. |
| exclude_none | bool | Whether to exclude fields that have a value of None. |
| exclude_computed_fields | bool | Whether to exclude fields decorated as computed properties from the output. |
| round_trip | bool | Whether to ensure serialization is performed in a way that supports perfect reconstruction of the object. |
| config | [SerializationConfig](../config/serializationconfig.md?sid=serializers_config_serializationconfig) | The configuration settings governing the serialization behavior. |
| rec_guard | [RecursionState](../../recursion/guard/recursionstate.md?sid=recursion_guard_recursionstate) | The state used to track and prevent infinite recursion during nested object serialization. |
| check | [SerCheck](sercheck.md?sid=serializers_extra_sercheck) | The validation check level to apply during the serialization process. |
| model | PyAny | The Python object instance currently being serialized. |
| field_name | PyString | The name of the specific field currently being processed. |
| serialize_unknown | bool | Whether to allow and serialize fields that are not explicitly defined in the model schema. |
| fallback | PyAny | A Python object or callable to use when standard serialization fails for a given value. |
| serialize_as_any | bool | Whether to serialize the object based on its runtime type rather than its declared type. |
| polymorphic_serialization | bool | Whether to enable specialized serialization for polymorphic types. |
| context | PyAny | An arbitrary Python object passed through the serialization process for use in custom handlers. |
| include | PyAny | A set of fields or patterns specifying which attributes should be included in the output. |
| exclude | PyAny | A set of fields or patterns specifying which attributes should be omitted from the output. |
Constructor
Signature
def ExtraOwned()