Go back to strict map keys

msgpack_lists_by_default
Tyler Goodlet 2022-02-15 08:48:43 -05:00
parent c5acc3b969
commit 0edc6a26bc
1 changed files with 4 additions and 3 deletions

View File

@ -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: