DataFlowRun

class composapy.dataflow.models.DataFlowRun(execution_state: ExecutionState)

Similar to a DataFlowObject, with a couple of differences. The first difference is that every DataFlowRun has an id, where as a DataFlowObject only has an ID if it is saved. The second difference is that the modules property on a DataFlowRun returns ModuleSet<ResultModule> instead of ModuleSet<Module>, which has the additional functionality of viewing module results.

property app_id: int

Returns the originating dataflow application id, assuming originating dataflow was saved.

property id: int

Returns the id of dataflow run. Every DataFlowRun is guaranteed to have an id with a non-null value.

property module: any

Convenience property that gets the first module. Cannot be used if there is more than one module.

property modules: ModuleSet

A ModuleSet made up of ResultModule’s.