acupedia-api/app/features/content/ports.py

12 lines
292 B
Python

from __future__ import annotations
from typing import Protocol
from uuid import UUID
class SearchProjectionWriter(Protocol):
"""Content-side port for synchronizing the derived search projection."""
async def rebuild_content_projection(self, content_id: UUID) -> None:
...