Identity
class flow_api.identity.Identity
(select, cls, init, by, **kwargs
)
Base class: Record
Parameters
Name | Type | Description |
---|---|---|
select | The name or ID of the record | |
cls | The class of the record type | |
init | a dictionary containing fields of the record to save | |
by | Which field of the record is used to identify the record. Should be 'id' or 'name' | |
**kwargs |
Methods
archive ()
clone (update=None, **kwargs)
delete ()
exists ()
get (*fields, default=None)
get_dict (*fields, default=None)
get_identity_created_by ()
get_identity_modified_by ()
load (*fields)
roles ()
save (update=None, **kwargs)
set (key, value)