> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/datadesigner/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/datadesigner/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/datadesigner/_mcp/server.

# data\_designer.config.validator\_params

## Module Contents

### Classes

| Name                                                                                               | Description                                                                                           |
| -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [`ValidatorType`](#data_designerconfigvalidator_paramsvalidatortype)                               | str(object='') -> str str(bytes\_or\_buffer\[, encoding\[, errors]]) -> str                           |
| [`CodeValidatorParams`](#data_designerconfigvalidator_paramscodevalidatorparams)                   | Configuration for code validation. Supports Python and SQL code validation.                           |
| [`LocalCallableValidatorParams`](#data_designerconfigvalidator_paramslocalcallablevalidatorparams) | Configuration for local callable validation. Expects a function to be passed that validates the data. |
| [`RemoteValidatorParams`](#data_designerconfigvalidator_paramsremotevalidatorparams)               | Configuration for remote validation. Sends data to a remote endpoint for validation.                  |

### Data

[`SUPPORTED_CODE_LANGUAGES`](#data_designerconfigvalidator_paramssupported_code_languages)
[`ValidatorParamsT`](#data_designerconfigvalidator_paramsvalidatorparamst)

### API

```python
SUPPORTED_CODE_LANGUAGES
```

```python
class data_designer.config.validator_params.ValidatorType
```

**Bases**: `str`, `enum.Enum`

```python
CODE = code
```

```python
LOCAL_CALLABLE = local_callable
```

```python
REMOTE = remote
```

```python
class data_designer.config.validator_params.CodeValidatorParams(
    /,
    **data: typing.Any
)
```

**Bases**: `data_designer.config.base.ConfigBase`

Configuration for code validation. Supports Python and SQL code validation.

**Parameters:**

The language of the code to validate. Supported values include: `python`,
`sql:sqlite`, `sql:postgres`, `sql:mysql`, `sql:tsql`, `sql:bigquery`, `sql:ansi`.

**Attributes:**

The language of the code to validate. Supported values include: `python`,
`sql:sqlite`, `sql:postgres`, `sql:mysql`, `sql:tsql`, `sql:bigquery`, `sql:ansi`.

**Initialization:**

Create a new model by parsing and validating input data from keyword arguments.

Raises \[`ValidationError`]\[pydantic\_core.ValidationError] if the input data cannot be
validated to form a valid model.

`self` is explicitly positional-only to allow `self` as a field name.

```python
validator_type: typing.Literal[data_designer.config.validator_params.ValidatorType] = Field(...)
```

```python
code_lang: data_designer.config.utils.code_lang.CodeLang = Field(...)
```

```python
validate_code_lang() -> typing_extensions.Self
```

```python
class data_designer.config.validator_params.LocalCallableValidatorParams(
    /,
    **data: typing.Any
)
```

**Bases**: `data_designer.config.base.ConfigBase`

Configuration for local callable validation. Expects a function to be passed that validates the data.

**Parameters:**

Function (`Callable[[pd.DataFrame], pd.DataFrame]`) to validate the
data. Output must contain a column `is_valid` of type `bool`.

The JSON schema for the local callable validator's output. If not provided,
the output will not be validated.

**Attributes:**

Function (`Callable[[pd.DataFrame], pd.DataFrame]`) to validate the
data. Output must contain a column `is_valid` of type `bool`.

The JSON schema for the local callable validator's output. If not provided,
the output will not be validated.

**Initialization:**

Create a new model by parsing and validating input data from keyword arguments.

Raises \[`ValidationError`]\[pydantic\_core.ValidationError] if the input data cannot be
validated to form a valid model.

`self` is explicitly positional-only to allow `self` as a field name.

```python
validator_type: typing.Literal[data_designer.config.validator_params.ValidatorType] = Field(...)
```

```python
validation_function: typing.Any = Field(...)
```

```python
output_schema: dict[str, typing.Any] | None = Field(...)
```

```python
serialize_validation_function(v: typing.Any) -> typing.Any
```

```python
validate_validation_function() -> typing_extensions.Self
```

```python
class data_designer.config.validator_params.RemoteValidatorParams(
    /,
    **data: typing.Any
)
```

**Bases**: `data_designer.config.base.ConfigBase`

Configuration for remote validation. Sends data to a remote endpoint for validation.

**Parameters:**

The URL of the remote endpoint.

The JSON schema for the remote validator's output. If not provided,
the output will not be validated.

The timeout for the HTTP request in seconds. Defaults to 30.0.

The maximum number of retry attempts. Defaults to 3.

The backoff factor for the retry delay in seconds. Defaults to 2.0.

The maximum number of parallel requests to make. Defaults to 4.

**Attributes:**

The URL of the remote endpoint.

The JSON schema for the remote validator's output. If not provided,
the output will not be validated.

The timeout for the HTTP request in seconds. Defaults to 30.0.

The maximum number of retry attempts. Defaults to 3.

The backoff factor for the retry delay in seconds. Defaults to 2.0.

The maximum number of parallel requests to make. Defaults to 4.

**Initialization:**

Create a new model by parsing and validating input data from keyword arguments.

Raises \[`ValidationError`]\[pydantic\_core.ValidationError] if the input data cannot be
validated to form a valid model.

`self` is explicitly positional-only to allow `self` as a field name.

```python
validator_type: typing.Literal[data_designer.config.validator_params.ValidatorType] = Field(...)
```

```python
endpoint_url: str = Field(...)
```

```python
output_schema: dict[str, typing.Any] | None = Field(...)
```

```python
timeout: float = Field(...)
```

```python
max_retries: int = Field(...)
```

```python
retry_backoff: float = Field(...)
```

```python
max_parallel_requests: int = Field(...)
```