models.py
python
| 1 | """Muse CLI data models — re-exports from muse.core.store. |
| 2 | |
| 3 | This module provides backward-compatible names for commands that import |
| 4 | ``MuseCliCommit``, ``MuseCliSnapshot``, etc. In the new architecture these |
| 5 | are plain dataclasses backed by JSON files, not SQLAlchemy ORM models. |
| 6 | """ |
| 7 | |
| 8 | from __future__ import annotations |
| 9 | |
| 10 | from muse.core.store import ( |
| 11 | CommitRecord as MuseCliCommit, |
| 12 | SnapshotRecord as MuseCliSnapshot, |
| 13 | TagRecord as MuseCliTag, |
| 14 | ) |
| 15 | |
| 16 | __all__ = ["MuseCliCommit", "MuseCliSnapshot", "MuseCliTag"] |