Skip to main content
Version: 12 - TBD

Operation

class flow_api.operation.Operation(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=False, execution_id=<class 'flow_api.system.NotSet'>, is_recursive=<class 'flow_api.system.NotSet'>, operation=<class 'flow_api.system.NotSet'>, debug=False)

Base class: Row

An operation object.

Parameters

NameTypeDescription
allow_deletedbool
allow_normalbool
bystr
clsOptional
commitbool
debugboolif set, the content of the data being written will be logged.
execution_idUnionReference to the execution the operation is performed on.
initOptional
is_recursiveUnionA flag that controls if the operation is recursive (e.g. cancelling a process).
operationUnionThe operation to perform.
selectOptional

Constants

RESOURCE = operation

Methods

clone

delete

duplicate

execution

exists

export

get

get_dict

restore

save