Skip to content

Commit

Permalink
Update pycrdt v0.7.2 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored Dec 15, 2023
1 parent 71f42fc commit d720b47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
- name: Run tests
run: |
pytest ./tests -v
pytest ./tests -v --color=yes
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ keywords = [
]
dependencies = [
"comm >=0.1.4,<1",
"pycrdt >=0.5.0,<0.6.0",
"pycrdt >=0.7.2,<0.8.0",
"reacttrs >=0.1.4,<1",
]

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self, widget_factory, comm):
self.receive_task = asyncio.create_task(self.receive())

def send(self, event: TransactionEvent):
update = event.get_update()
update = event.update
message = create_update_message(update)
self.comm.recv_queue.put_nowait({"buffers": [message]})

Expand Down
2 changes: 1 addition & 1 deletion ypywidgets/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _receive(self, msg):
self._ydoc.observe(self._send)

def _send(self, event: TransactionEvent):
update = event.get_update()
update = event.update
message = create_update_message(update)
self._comm.send(buffers=[message])

Expand Down

0 comments on commit d720b47

Please sign in to comment.