Skip to content

Commit

Permalink
Increase pycrdt compatible version range (#104)
Browse files Browse the repository at this point in the history
* Increase pycrdt compatible version range

* Add type annotation

---------

Co-authored-by: David Brochart <[email protected]>
  • Loading branch information
fcollonval and davidbrochart authored Jan 23, 2025
1 parent 728e7ff commit 4c9f21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
dependencies = [
"anyio >=3.6.2,<5",
"sqlite-anyio >=0.2.3,<0.3.0",
"pycrdt >=0.10.3,<0.11.0",
"pycrdt >=0.10.3,<0.13.0",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 4c9f21a

Please sign in to comment.