# is_supported_by_pydantic

> **Function** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/_internal/_pydantic/is_supported_by_pydantic)

Check if a given "complex" type is supported by pydantic.

This will return False for primitive types like int, str, etc.

The check is meant for container types like dataclasses, TypedDicts, etc.

## Signature

```python
is_supported_by_pydantic(
    type_: Any,
) -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/a529b9bede1f1b6ecada4f0cc0e5c4b83526e563/libs/langgraph/langgraph/_internal/_pydantic.py#L252)