---
sidebar:
  label: roboto.warnings
  order: 36
title: roboto.warnings
---
## Module Contents

### ExperimentalWarning

```python
exception roboto.warnings.ExperimentalWarning
```

`from roboto import ExperimentalWarning`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/warnings.py#L25-L30)

Bases: `Warning`

Warning category for experimental SDK APIs.

Unused: nothing in the SDK emits or subclasses this warning. `experimental` marks an API as experimental in its docstring instead.

### experimental()

```python
def roboto.warnings.experimental(target: _C, /) -> _C
def roboto.warnings.experimental(target: _F, /) -> _F
def roboto.warnings.experimental(target: str, /) -> Callable[[_T], _T]
def roboto.warnings.experimental(*, message: str) -> Callable[[_T], _T]
```

`from roboto import experimental`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/warnings.py#L43-L43)

Mark a class, function, or method as experimental.

The SDK's own code uses it. Experimental APIs may be incomplete, subject to change, or removed without notice.

Prepends a `.. warning::` notice to the target's docstring, so documentation rendered from it and `help()` show the target as experimental, then returns the target itself. Apply it bare (`@experimental`), with the notice text as its argument (`@experimental("...")`), or with the notice text as `message` (`@experimental(message="...")`).

**Parameters**

- **target**: Object to mark when applied bare, or the notice text when called as `@experimental("...")`.
- **message**: Notice text. Defaults to `"<qualified name of the target> is experimental and may change or be removed without notice."`

**Raises**

- `TypeError`: The target is not callable, as when the decorator is placed above `@property` or `@classmethod` and not below it. When notice text is passed, it is raised when the returned decorator is called.

### roboto_default_warning_behavior()

```python
def roboto.warnings.roboto_default_warning_behavior()
```

`from roboto.warnings import roboto_default_warning_behavior`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/warnings.py#L11-L22)

Ignore every warning raised from the urllib3 connection pool that botocore vendors.

Roboto calls this when `roboto` is imported. The filter applies to the whole Python process.
