> ## 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.

# import_symbolic_workflow class

**Namespace:** [Ans.DataProcessing.operators.serialization](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization)

## Summary

Reads a file or string holding a Symbolic Workflow and instantiate a WorkFlow with its data.

available inputs: `string_or_path` (string, DataSources), `format` (Int32) (optional)

available outputs: `workflow` (Workflow)

## Example

```python theme={null}
op = import_symbolic_workflow()

op = import_symbolic_workflow(string_or_path=my_string_or_path,format=my_format)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.serialization` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### string\_or\_path

**Type:** *LinkableInput*

### format

-1 is auto-detection, 0 is ASCII format, 1 is binary, 2 is json, default is -1 (auto-detection).

**Type:** *LinkableInput*

## Outputs

### workflow

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
import_symbolic_workflow(string_or_path, format, config)
```

**Parameters:**

* `string_or_path` (*object*)
* `format` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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