RecordUser
class flow_api.record_user.RecordUser
(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, is_pinned=[class 'flow_api.system.NotSet'], record_id=[class 'flow_api.system.NotSet'], user_id=[class 'flow_api.system.NotSet'], debug=False
)
Base class: Row
Mapping a record to a user. Used for showing items in the sidebar.
Parameters
Name | Type | Description |
---|---|---|
allow_deleted | bool | |
allow_normal | bool | |
by | str | |
cls | typing.Union[ type, NoneType ] | |
debug | bool | if set, the content of the data being written will be logged. |
init | typing.Union[ dict, NoneType ] | |
is_pinned | typing.Union[ flow_api.system.NotSet, bool ] | A flag to control if the record is already pinned by the user. |
record_id | typing.Union[ flow_api.system.NotSet, str ] | Reference to the record whom the user is mapped to. |
select | typing.Union[ str, NoneType ] | |
user_id | typing.Union[ flow_api.system.NotSet, str ] | Reference to the user whom the record is mapped to. |
Constants
RESOURCE = record_userMethods
clone
details
delete
details
exists
details
export
details
get
details
get_dict
details
record
details
restore
details
save
details
user
details