Skip to content

Commit

Permalink
Fix async iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Nov 16, 2022
1 parent 3ce56cc commit 2d8de60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ypy_websocket/ystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def encode_state_as_update(self, ydoc: Y.YDoc):
await self.write(update)

async def apply_updates(self, ydoc: Y.YDoc):
async for update, metadata in await self.read():
async for update, metadata in self.read(): # type: ignore
Y.apply_update(ydoc, update) # type: ignore


Expand Down

0 comments on commit 2d8de60

Please sign in to comment.