Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Jan 23, 2025
1 parent 1fbcccc commit 224b6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycrdt_websocket/ystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ async def write(self, data: bytes) -> None:

if self.document_ttl is not None and diff > self.document_ttl:
# squash updates
ydoc = Doc()
ydoc: Doc = Doc()
await cursor.execute(
"SELECT yupdate FROM yupdates WHERE path = ?",
(self.path,),
Expand Down

0 comments on commit 224b6a4

Please sign in to comment.