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

# set_attribute class

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

## Summary

Uses the FieldsContainer APIs to modify it.

available inputs: `fields_container` (FieldsContainer), `property_name` (string), `property_identifier` (LabelSpace) (optional)

available outputs: `fields_container` (FieldsContainer)

## Example

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

op = set_attribute(fields_container=my_fields_container,property_name=my_property_name,property_identifier=my_property_identifier)
```

## Class Information

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

## Inputs

### fields\_container

**Type:** *LinkableInput*

### property\_name

Supported property names are: "labels".

**Type:** *LinkableInput*

### property\_identifier

Value of the property to be set : vector of string or LabelSpace for "labels".

**Type:** *LinkableInput*

## Outputs

### fields\_container

Returns the modified FieldsContainer.

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
set_attribute(fields_container, property_name, property_identifier, config)
```

**Parameters:**

* `fields_container` (*object*)
* `property_name` (*object*)
* `property_identifier` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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