# dump_model

> **Function** in `langsmith`

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

Dump model depending on pydantic version.

## Signature

```python
dump_model(
    model,
    *,
    exclude_none: bool = False,
) -> dict[str, Any]
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/791701a304a72495d108669ef11c194983fd0e95/python/langsmith/client.py#L10418)