Files
buryan-infra/ops/events/adapter_plugins/base.py
T
architect 506ae58410
lint / hygiene (pull_request) Failing after 17s
standard / check (pull_request) Successful in 7s
lint / hygiene (push) Failing after 1m11s
standard / check (push) Successful in 8s
[STAGE4] Adapter SDK, 4 adapters, contract tests, preview
2026-11-27 20:40:19 +03:00

11 lines
255 B
Python

"""Adapter contract for the Stage 4 event fabric."""
from abc import ABC, abstractmethod
class Adapter(ABC):
name = "adapter"
@abstractmethod
def poll(self, conn) -> int:
"""Emit zero or more events; return number of new events."""