ObjectTemplate
class flow_api.object_template.ObjectTemplate
(select=None, cls=None, init=None, by='name', allow_normal=True, allow_deleted=False, commit=False, before_create=<class 'flow_api.system.NotSet'>, bundle_id=<class 'flow_api.system.NotSet'>, bundle_name=<class 'flow_api.system.NotSet'>, commit_message=<class 'flow_api.system.NotSet'>, description=<class 'flow_api.system.NotSet'>, icon=<class 'flow_api.system.NotSet'>, is_readonly=<class 'flow_api.system.NotSet'>, location_inheritance=<class 'flow_api.system.NotSet'>, name=<class 'flow_api.system.NotSet'>, on_create=<class 'flow_api.system.NotSet'>, on_delete=<class 'flow_api.system.NotSet'>, on_update=<class 'flow_api.system.NotSet'>, project_id=<class 'flow_api.system.NotSet'>, project_name=<class 'flow_api.system.NotSet'>, debug=False
)
Base class: Resource
A definition of a object_template type with triggers.
See the corresponding Resources class at ObjectTemplate
Parameters
Name | Type | Description |
---|---|---|
allow_deleted | bool | |
allow_normal | bool | |
before_create | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
bundle_id | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
bundle_name | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
by | str | |
cls | typing.Union[ type, NoneType ] | |
commit | bool | |
commit_message | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
debug | bool | |
description | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
icon | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
init | typing.Union[ dict, NoneType ] | |
is_readonly | typing.Union[ flow_api.system.NotSet, bool ] | |
location_inheritance | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
name | typing.Union[ flow_api.system.NotSet, str ] | |
on_create | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
on_delete | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
on_update | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
project_id | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
project_name | typing.Union[ flow_api.system.NotSet, str, NoneType ] | |
select | typing.Union[ str, NoneType ] |