# 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-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/schemas.py#L45)