> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/curator/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/curator/_mcp/server.

# nemo_curator.utils.retry_manifest

## Module Contents

### Classes

| Name                                                                                      | Description                                                                 |
| ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [`CompletionManifest`](#nemo_curator-utils-retry_manifest-CompletionManifest)             | Durable proof that work identified by stable fields completed successfully. |
| [`CompletionManifestRecord`](#nemo_curator-utils-retry_manifest-CompletionManifestRecord) | One durable completion manifest read from disk.                             |

### Functions

| Name                                                                                        | Description                                           |
| ------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [`_mapping_digest`](#nemo_curator-utils-retry_manifest-_mapping_digest)                     | -                                                     |
| [`_safe_token`](#nemo_curator-utils-retry_manifest-_safe_token)                             | -                                                     |
| [`read_completion_manifests`](#nemo_curator-utils-retry_manifest-read_completion_manifests) | Read completed identities for one manifest namespace. |

### Data

[`METADATA_DIRNAME`](#nemo_curator-utils-retry_manifest-METADATA_DIRNAME)

### API

```python
class nemo_curator.utils.retry_manifest.CompletionManifest(
    checkpoint_path: str | pathlib.Path,
    namespace: str,
    identity: collections.abc.Mapping[str, object],
    metadata: collections.abc.Mapping[str, object] | None = None,
    completion_dirname: str | None = None,
    enabled: bool = True,
    flatten_identity: bool = True,
    flatten_metadata: bool = False
)
```

Durable proof that work identified by stable fields completed successfully.

**`checkpoint_path`** `= Path(checkpoint_path)`

---

**`completion_dirname`**

---

**`filename_prefix`** `str`

---

**`identity`** `= dict(identity)`

---

**`manifest_dir`** `Path`

---

**`manifest_file`** `Path | None = None`

---

**`metadata`** `= dict(metadata or {})`

---

```python
nemo_curator.utils.retry_manifest.CompletionManifest.__enter__() -> nemo_curator.utils.retry_manifest.CompletionManifest
```

```python
nemo_curator.utils.retry_manifest.CompletionManifest.__exit__(
    _exc_type: type[BaseException] | None,
    exc: BaseException | None,
    _: object
) -> bool
```

```python
nemo_curator.utils.retry_manifest.CompletionManifest._payload(
    extra: collections.abc.Mapping[str, object] | None = None
) -> dict[str, object]
```

```python
nemo_curator.utils.retry_manifest.CompletionManifest.mark_completed(
    extra: collections.abc.Mapping[str, object] | None = None
) -> pathlib.Path | None
```

Atomically record successful completion.

```python
class nemo_curator.utils.retry_manifest.CompletionManifestRecord(
    path: pathlib.Path,
    payload: dict[str, object]
)
```

Dataclass

One durable completion manifest read from disk.

**`path`** `Path`

---

**`payload`** `dict[str, object]`

---

```python
nemo_curator.utils.retry_manifest._mapping_digest(
    mapping: collections.abc.Mapping[str, object]
) -> str
```

```python
nemo_curator.utils.retry_manifest._safe_token(
    value: object
) -> str
```

```python
nemo_curator.utils.retry_manifest.read_completion_manifests(
    checkpoint_path: str | pathlib.Path,
    namespace: str,
    completion_dirname: str | None = None
) -> list[nemo_curator.utils.retry_manifest.CompletionManifestRecord]
```

Read completed identities for one manifest namespace.

```python
nemo_curator.utils.retry_manifest.METADATA_DIRNAME = '.nemo_curator_metadata'
```