feat(etl-cache): add EvictionCandidate value object

This commit is contained in:
CREDO23 2026-06-12 11:22:48 +02:00
parent 24f824b597
commit 3c9ea0011d

View file

@ -0,0 +1,15 @@
"""Row projection handed to the eviction policy."""
from __future__ import annotations
from dataclasses import dataclass
from datetime import datetime
@dataclass(frozen=True, slots=True)
class EvictionCandidate:
id: int
storage_key: str
size_bytes: int
last_used_at: datetime
times_reused: int