Skip to main content
Version: 6 - Palatschinke

RecordBase

class flow_api.record_base.RecordBase(select, cls, init, by, allow_normal=True, allow_archived=False, allow_deleted=False, **kwargs)

The RecordBase class is the base class for all of Cloudomation records.

It provides a basic interface to read and write fields of records.

Do not create RecordBase objects directly. Instead use System.execution, System.file, System.flow, or System.setting to create classes of the respective record subclass.

Parameters

NameTypeDescription
**kwargs
allow_archivedbool
allow_deletedbool
allow_normalbool
byWhich field of the record is used to identify the record. Should be 'id' or 'name'
clsThe class of the record type
inita dictionary containing fields of the record to save
selectThe name or ID of the record

Methods