8 lines
181 B
Python
8 lines
181 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any, Protocol
|
|
|
|
|
|
class PipelineLike(Protocol):
|
|
async def emit(self, *, session_id: str, event: dict[str, Any]) -> str: ...
|