# NotGiven

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_types/NotGiven)

For parameters with a meaningful None value, we need to distinguish between
the user explicitly passing None, and the user not passing the parameter at
all.

User code shouldn't need to use not_given directly.

For example:

```py
def create(timeout: Timeout | None | NotGiven = not_given): ...

create(timeout=1)  # 1s timeout
create(timeout=None)  # No timeout
create()  # Default timeout behavior
```

## Signature

```python
NotGiven()
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/_types.py#L130)