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: boolobject_type: Typesearchable: boolFunctions
__init__
RField to serialize and deserialize python object to and from json
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.
include_in_dict_view :
bool - False if true, this field we be included in the default dict view
Do not mark huge fields as include in dict view
deserialize
r_field_value :
Any Return type :
SerializableObjectJson get_default_value
Return type :
Any serialize
r_field_value :
SerializableObjectJson Return type :
Any