8 lines
181 B
Python
8 lines
181 B
Python
from __future__ import annotations
|
|
|
|
from typing import Protocol
|
|
|
|
|
|
class InferenceExecutor(Protocol):
|
|
async def do_inference(self, method: str, data: bytes) -> bytes | None: ...
|