Skip to content

Commit 4c9f21a

Browse files
Increase pycrdt compatible version range (#104)
* Increase pycrdt compatible version range * Add type annotation --------- Co-authored-by: David Brochart <[email protected]>
1 parent 728e7ff commit 4c9f21a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pycrdt_websocket/ystore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ async def write(self, data: bytes) -> None:
488488

489489
if self.document_ttl is not None and diff > self.document_ttl:
490490
# squash updates
491-
ydoc = Doc()
491+
ydoc: Doc = Doc()
492492
await cursor.execute(
493493
"SELECT yupdate FROM yupdates WHERE path = ?",
494494
(self.path,),

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ classifiers = [
3030
dependencies = [
3131
"anyio >=3.6.2,<5",
3232
"sqlite-anyio >=0.2.3,<0.3.0",
33-
"pycrdt >=0.10.3,<0.11.0",
33+
"pycrdt >=0.10.3,<0.13.0",
3434
]
3535

3636
[project.optional-dependencies]

0 commit comments

Comments
 (0)