> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# workflow_to_workflow_topology class

**Namespace:** [Ans.DataProcessing.operators.serialization](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/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

```python theme={null}
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

```python theme={null}
workflow_to_workflow_topology()
```

#### Constructor

```python theme={null}
workflow_to_workflow_topology(workflow, config)
```

**Parameters:**

* `workflow` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
workflow_to_workflow_topology(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
