# Attachment

> **Class** in `langsmith`

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

Annotated type that will be stored as an attachment if used.

## Signature

```python
Attachment()
```

## Extends

- `NamedTuple`

## Properties

- `mime_type`
- `data`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/6a74bf5af9e542d8065af8edca54b2448f430916/python/langsmith/schemas.py#L36)