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

# real_constants_provider class

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

## Summary

Reads real constants from the result files contained in the streams or data sources.

available inputs: `solver_real_constants_ids` (Int32, IList int, System.Collections.IEnumerable) (optional), `streams` (StreamsContainer) (optional), `data_sources` (DataSources)

available outputs: `real_constants` (Field)

## Example

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

op = real_constants_provider(solver_real_constants_ids=my_solver_real_constants_ids,streams=my_streams,data_sources=my_data_sources)
```

## Class Information

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

## Inputs

### solver\_real\_constants\_ids

Real Constant ids to recover used by the solver. If not set, all available real constants to be recovered.

**Type:** *LinkableInput*

### streams

Result file container allowed to be kept open to cache data.

**Type:** *LinkableInput*

### data\_sources

Result file path container, used if no streams are set.

**Type:** *LinkableInput*

## Outputs

### real\_constants

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
real_constants_provider(solver_real_constants_ids, streams, data_sources, config)
```

**Parameters:**

* `solver_real_constants_ids` (*object*)
* `streams` (*object*)
* `data_sources` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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