# UUID

> **Class** in `langgraph.checkpoint`

📖 [View in docs](https://reference.langchain.com/python/langgraph.checkpoint/base/id/UUID)

UUID draft version objects

## Signature

```python
UUID(
    self,
    hex: str | None = None,
    bytes: bytes | None = None,
    bytes_le: bytes | None = None,
    fields: tuple[int, int, int, int, int, int] | None = None,
    int: int | None = None,
    version: int | None = None,
    *,
    is_safe: uuid.SafeUUID = uuid.SafeUUID.unknown,
)
```

## Extends

- `uuid.UUID`

## Constructors

```python
__init__(
    self,
    hex: str | None = None,
    bytes: bytes | None = None,
    bytes_le: bytes | None = None,
    fields: tuple[int, int, int, int, int, int] | None = None,
    int: int | None = None,
    version: int | None = None,
    *,
    is_safe: uuid.SafeUUID = uuid.SafeUUID.unknown,
) -> None
```

| Name | Type |
|------|------|
| `hex` | `str \| None` |
| `bytes` | `bytes \| None` |
| `bytes_le` | `bytes \| None` |
| `fields` | `tuple[int, int, int, int, int, int] \| None` |
| `int` | `int \| None` |
| `version` | `int \| None` |
| `is_safe` | `uuid.SafeUUID` |


## Properties

- `subsec`
- `time`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/398d6cc59d4cf81ab23c09f037e9f521c3fedcd6/libs/checkpoint/langgraph/checkpoint/base/id.py#L15)