fix api to work with openapi generator

This commit is contained in:
Xi Yan 2024-09-11 16:05:35 -07:00
parent cd493b8228
commit 2aa76e4d81
4 changed files with 672 additions and 1541 deletions

View file

@ -125,7 +125,7 @@ Event = Annotated[
class Telemetry(Protocol):
@webmethod(route="/telemetry/log_event")
async def log_event(self, event: Event): ...
async def log_event(self, event: Event) -> None: ...
@webmethod(route="/telemetry/get_trace", method="GET")
async def get_trace(self, trace_id: str) -> Trace: ...