# ImageReference

> **Class** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/image_reference/ImageReference)

## Signature

```python
ImageReference(
    self,
    repository: str,
    tag: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    repository: str,
    tag: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `repository` | `str` |
| `tag` | `str \| None` |


## Properties

- `repository`
- `tag`

## Methods

- [`parse()`](https://reference.langchain.com/python/langgraph-cli/image_reference/ImageReference/parse)
- [`with_tag()`](https://reference.langchain.com/python/langgraph-cli/image_reference/ImageReference/with_tag)
- [`matches_digest()`](https://reference.langchain.com/python/langgraph-cli/image_reference/ImageReference/matches_digest)

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/e5b422455d9304e8a655c90d46133cf78ec25fa1/libs/cli/langgraph_cli/image_reference.py#L11)