# 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/52e79add98f6559235d1eb00f5f533b9be6d4cf6/python/langsmith/_openapi_client/_utils/_transform.py#L284)