We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac95b8e commit a4e375eCopy full SHA for a4e375e
src/replit_river/rpc.py
@@ -2,6 +2,7 @@
2
import logging
3
from collections.abc import AsyncIterable, AsyncIterator
4
from typing import (
5
+ Annotated,
6
Any,
7
Awaitable,
8
Callable,
@@ -91,7 +92,7 @@ class PropagationContext(BaseModel):
91
92
class TransportMessage(BaseModel):
93
id: str
94
# from_ is used instead of from because from is a reserved keyword in Python
- from_: str = Field(..., alias="from")
95
+ from_: Annotated[str, Field(alias="from")]
96
to: str
97
seq: int
98
ack: int
0 commit comments