care.utils.models.base module¶
- class BaseModel(*args, **kwargs)¶
Bases:
Model- external_id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- created_date¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- modified_date¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- deleted¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects¶
- delete(*args)¶
- class BaseFlag(*args, **kwargs)¶
Bases:
BaseModel- flag¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cache_key_template = ''¶
- all_flags_cache_key_template = ''¶
- flag_type = None¶
- entity_field_name = ''¶
- save(*args, **kwargs)¶
- property entity¶
- property entity_id¶
- classmethod validate_flag(flag_name: FlagName)¶
- created_date¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- deleted¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- external_id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- modified_date¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.