15 lines
348 B
Python
15 lines
348 B
Python
"""Stable contracts shared by the universal dispatcher and typed handlers."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class WriteHandler:
|
|
"""A supported public write surface, not an SQL implementation detail."""
|
|
|
|
key: str
|
|
public_target_kind: str
|
|
operation: str | None = None
|