ansys.dpf.core.workflow_topology.WorkflowTopology#
- class ansys.dpf.core.workflow_topology.WorkflowTopology(container: ansys.dpf.core.generic_data_container.GenericDataContainer)#
Bases:
ansys.dpf.core.custom_container_base.CustomContainerBase
Represent the workflow topology, including operators, connections, and input/output pins.
- _operators: ansys.dpf.core.OperatorsCollection | None = None#
- _operator_connections: ansys.dpf.core.workflow_topology.operator_connection.OperatorConnectionsCollection | None = None#
- _data_connections: ansys.dpf.core.workflow_topology.data_connection.DataConnectionsCollection | None = None#
- _exposed_inputs: ansys.dpf.core.workflow_topology.exposed_pin.ExposedPinsCollection | None = None#
- _exposed_outputs: ansys.dpf.core.workflow_topology.exposed_pin.ExposedPinsCollection | None = None#
- property operators: ansys.dpf.core.OperatorsCollection#
Retrieve the operators in the workflow.
- Returns:
A collection of all the operators in the workflow.
- Return type:
OperatorsCollection
- property operator_connections: ansys.dpf.core.workflow_topology.operator_connection.OperatorConnectionsCollection#
Retrieve the operator connections in the workflow.
- Returns:
A collection of all the operator connections in the workflow.
- Return type:
- property data_connections: ansys.dpf.core.workflow_topology.data_connection.DataConnectionsCollection#
Retrieve the data connections in the workflow.
- Returns:
A collection of all the data connections in the workflow.
- Return type:
- property exposed_inputs: ansys.dpf.core.workflow_topology.exposed_pin.ExposedPinsCollection#
Retrieve the exposed inputs in the workflow.
- Returns:
A collection of all the exposed inputs in the workflow.
- Return type:
- property exposed_outputs: ansys.dpf.core.workflow_topology.exposed_pin.ExposedPinsCollection#
Retrieve the exposed outputs in the workflow.
- Returns:
A collection of all the exposed outputs in the workflow.
- Return type:
- __str__() str #
Return a string representation of the workflow topology.
The string provides details about the workflow’s operators, connections, and exposed pins.
- Returns:
String representation of the workflow topology.
- Return type:
str