Coverage for object_streams/history/simple_history.py: 100%
7 statements
« prev ^ index » next coverage.py v7.16.0, created at 2026-09-02 17:07 +0000
« prev ^ index » next coverage.py v7.16.0, created at 2026-09-02 17:07 +0000
1"""Reserved extension point for django-simple-history integration."""
3from __future__ import annotations
5from typing import Any
7from object_streams.events import SourceRef
10__all__ = ("SimpleHistoryAdapter",)
13class SimpleHistoryAdapter:
14 """Adapter shell for django-simple-history records."""
16 def source_ref_for_history(self, history_record: Any) -> SourceRef:
17 msg = "django-simple-history source mapping is not implemented yet."
18 raise NotImplementedError(msg)