SerializableRField
BaseRField, these fields must be used in resource attribute. When a class attribute is instantiated with an RField, the field will be automatically saved after the task run when the resource is on task outputs, and the field will automatically be initialized with the saved value for input resources of a task
Attributes
include_in_dict_view: bool
object_type: Type
searchable: bool
Functions
RField to serialize and deserialize python object to and from json 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:
SerializableObjectJson |
Return type:
Any |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
r_field_value | SerializableObjectJson |
Return type:
Any |