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

# delegate_to_operator class

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

## Summary

Delegate the run to an Operator instantiated by the name in input (forwards all the input of this Operator to the sub Operator).

available inputs: `operator_name` (string)

available outputs: `any1` (object), `any2` (object)

## Example

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

op = delegate_to_operator(operator_name=my_operator_name)
```

## Class Information

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

## Inputs

### operator\_name

**Type:** *LinkableInput*

## Outputs

### any1

inputs

**Type:** *LinkableOutput*

### any2

inputs

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
delegate_to_operator(operator_name, config)
```

**Parameters:**

* `operator_name` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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