forked from goodboy/tractor
Go back to strict map keys
parent
c5acc3b969
commit
0edc6a26bc
|
@ -121,11 +121,12 @@ class MsgpackTCPStream:
|
||||||
self.drained: list[dict] = []
|
self.drained: list[dict] = []
|
||||||
|
|
||||||
async def _iter_packets(self) -> AsyncGenerator[dict, None]:
|
async def _iter_packets(self) -> AsyncGenerator[dict, None]:
|
||||||
"""Yield packets from the underlying stream.
|
'''
|
||||||
"""
|
Yield packets from the underlying stream.
|
||||||
|
|
||||||
|
'''
|
||||||
unpacker = msgpack.Unpacker(
|
unpacker = msgpack.Unpacker(
|
||||||
raw=False,
|
raw=False,
|
||||||
strict_map_key=False
|
|
||||||
)
|
)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue