Models
Entity
Bases: Object
Base model for entities with a unique identifier.
Source code in templates/models.py
24 25 26 27 28 29 30 31 32 | |
Object
Bases: BaseModel
Base model for all data objects with common configuration and helper methods.
Source code in templates/models.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
dump(**kwargs)
Dump the model to a dictionary with default settings (camelCase, exclude None).
Source code in templates/models.py
11 12 13 14 15 | |
dump_json(**kwargs)
Dump the model to a JSON string with default settings (camelCase, exclude None).
Source code in templates/models.py
17 18 19 20 21 | |