workflow_to_workflow_topology class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.serialization
Summary
Creates a GenericDataContainer based on WorkflowTopology structure from a Workflow object, allowing to access its operators, operator connections, data connections, and exposed pins.
available inputs: workflow (Workflow)
available outputs: workflow_topology (GenericDataContainer)
Example
op = workflow_to_workflow_topology()
op = workflow_to_workflow_topology(workflow=my_workflow)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.serialization |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
workflow
Type: LinkableInput
Outputs
workflow_topology
Type: LinkableOutput
Constructors
Constructor
workflow_to_workflow_topology()
Constructor
workflow_to_workflow_topology(workflow, config)
Parameters:
workflow(object)config(OperatorConfig)
Constructor
workflow_to_workflow_topology(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig