Close
    logoCloudomation Docs

    Record

    class flow_api.record.Record(select, cls, init, by, **kwargs)

    The Record class is the base class for Execution, File, Flow, Setting

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

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

    Parameters

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

    Methods

    archive ()
    clone (update=None, **kwargs)
    delete ()
    exists ()
    get (*fields, default=None)
    get_dict (*fields, default=None)
    get_identity_created_by ()
    get_identity_modified_by ()
    load (*fields)
    save (update=None, **kwargs)
    set (key, value)
    Previous
    Project
    Next
    Role