Skip to main content
Version: 11 - TBD

ObjectTemplateAttribute

class flow_api.object_template_attribute.ObjectTemplateAttribute(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=False, datatype=<class 'flow_api.system.NotSet'>, description=<class 'flow_api.system.NotSet'>, is_hidden=<class 'flow_api.system.NotSet'>, is_nullable=<class 'flow_api.system.NotSet'>, is_unique=<class 'flow_api.system.NotSet'>, name=<class 'flow_api.system.NotSet'>, object_template_id=<class 'flow_api.system.NotSet'>, reference_object_template_id=<class 'flow_api.system.NotSet'>, reference_record_type=<class 'flow_api.system.NotSet'>, silent_update=<class 'flow_api.system.NotSet'>, debug=False)

Base class: Row

A definition of an attribute of an object_template.

Behaves similarly to database column with properties like datatype, nullability, uniqueness.

Parameters

NameTypeDescription
allow_deletedbool
allow_normalbool
bystr
clstyping.Union[ type, NoneType ]
commitbool
datatypetyping.Union[ flow_api.system.NotSet, str ]
debugbool
descriptiontyping.Union[ flow_api.system.NotSet, str ]
inittyping.Union[ dict, NoneType ]
is_hiddentyping.Union[ flow_api.system.NotSet, bool ]
is_nullabletyping.Union[ flow_api.system.NotSet, bool ]
is_uniquetyping.Union[ flow_api.system.NotSet, bool ]
nametyping.Union[ flow_api.system.NotSet, str ]
object_template_idtyping.Union[ flow_api.system.NotSet, str ]
reference_object_template_idtyping.Union[ flow_api.system.NotSet, str, NoneType ]
reference_record_typetyping.Union[ flow_api.system.NotSet, str, NoneType ]
selecttyping.Union[ str, NoneType ]
silent_updatetyping.Union[ flow_api.system.NotSet, bool ]

Constants

RESOURCE = object_template_attribute

Methods

clone

delete

exists

export

get

get_dict

object_template

reference_object_template_id_object_template

restore

save