# async_maybe_transform

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/_openapi_client/_utils/_transform/async_maybe_transform)

Wrapper over `async_transform()` that allows `None` to be passed.

See `async_transform()` for more details.

## Signature

```python
async_maybe_transform(
    data: object,
    expected_type: object,
) -> Any | None
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/687fc8d527a28504432f52bd08c75f2894c209fe/python/langsmith/_openapi_client/_utils/_transform.py#L284)