RFeeld for primitives values, use subclass and not this one directly
:param BaseRField: [description] :type BaseRField: [type] :return: [description] :rtype: [type]
Attributes
include_in_dict_view: bool
searchable: bool
validator: Validator
Functions
RField to save a json like dictionary. The DictRField only supports element that are either primitives python object or dictionary or lists. It Stringifies all python object to json using str method and replace NaN, inf by None. Support primitive value, Type of Callable function If type or callable, it will be called without parameter to initialise the default value, defaults to {} Do not mark huge fields as include in dict view, defaults to False
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
default_value | Dict | Default value of the resource attribute , 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:
Any |
Return type:
Any |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
r_field_value | Any |
Return type:
Any |