# CheckpointPaths

**Package:** `flyte.models`

Paths the platform provides for this task's checkpoint output and optional previous-attempt input.

This is distinct from `flyte.Checkpoint`, which performs download/upload of the checkpoint **blob**
for those paths (see `flyte.models.TaskContext.checkpoint`).

## Parameters

```python
class CheckpointPaths(
    prev_checkpoint_path: str | None,
    checkpoint_path: str | None,
)
```
| Parameter | Type | Description |
|-|-|-|
| `prev_checkpoint_path` | `str \| None` | |
| `checkpoint_path` | `str \| None` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flyte-sdk/packages/flyte.models/checkpointpaths.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte.models/checkpointpaths/
