File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class BaseStreamInfo(TypedDict):
4040 mime_type : str
4141 topic : str
4242 timestamp : int
43- size : Optional [int ] # Optional means it can be an int or None
43+ size : Optional [int ]
4444 attributes : Optional [Dict [str , str ]] # Optional for the extensions dictionary
4545
4646
@@ -112,7 +112,6 @@ async def read_all(self) -> str:
112112@dataclass
113113class ByteStreamInfo (BaseStreamInfo ):
114114 name : str
115- pass
116115
117116
118117class ByteStreamReader :
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ async def stream_bytes(
611611 topic : str = "" ,
612612 ) -> ByteStreamWriter :
613613 """
614- Returns a ByteStreamWriter that allows to write individual chunks of bytes to a file stream.
614+ Returns a ByteStreamWriter that allows to write individual chunks of bytes to a byte stream.
615615 In cases where you want to simply send a file from the file system use send_file() instead.
616616 """
617617 writer = ByteStreamWriter (
You can’t perform that action at this time.
0 commit comments