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

# operator_id class

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

## Summary

Return the id of an Operator.

available inputs: `op` (Operator)

available outputs: `id` (Int32)

## Example

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

op = operator_id(op=my_op)
```

## Class Information

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

## Inputs

### op

**Type:** *LinkableInput*

## Outputs

### id

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
operator_id(op, config)
```

**Parameters:**

* `op` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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