RField to serialize and deserialize BaseModelDTO to and from json using pydantic.
Attributes
include_in_dict_view: bool
object_type: Type
searchable: bool
Functions
RField to serialize and deserialize BaseModelDTO to and from json using pydantic. Do not mark huge fields as include in dict view, defaults to False
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
object_type | Type | Type of the jsonable object. this type is instantiated when the resource is created. it must have a constructor with no parameter. [serializableobject], optional | |
include_in_dict_view | bool | False | If true, this field we be included in the default dict view , optional |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
r_field_value | Any |
Return type:
BaseModelDTO |
Return type:
Any |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
r_field_value | BaseModelDTO |
Return type:
Any |