> For the complete documentation index, see [llms.txt](https://docs.seldon.ai/alibi-detect/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.seldon.ai/alibi-detect/api-reference/utils/pydantic_v1.md).

# alibi\_detect.utils.pydantic\_v1

## Constants

### `Required`

```python
Required: ellipsis = Ellipsis
```

### `compiled`

```python
compiled: bool = False
```

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

### `VERSION`

```python
VERSION: str = '1.10.21'
```

str(object='') -> str str(bytes\_or\_buffer\[, encoding\[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.**str**() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
