Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
0
Share

ListRField

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: boolsearchable: boolvalidator: Validator
Functions
__init__

RField to save a json like list. The ListRField 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.

default_value : List
default value of the resource attribute Support primitive value, Type of Callable function If type or callable, it will be called without parameter to initialise the default value
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 : Any
get_default_value
Return type : Any
serialize
r_field_value : Any
Return type : Any
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.