Skip to content

Commit

Permalink
more keyword arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Mar 11, 2024
1 parent 8b51572 commit 8493fc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tqdm_publisher/_demo/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def forward_progress_to_client(*, progress_bar_id: str, format_dict: dict) -> No
It will forward the progress to the client.
"""
asyncio.run(websocket.send(json.dumps(obj=dict(progress_bar_id=progress_bar_id, format_dict=format_dict))))
asyncio.run(
websocket.send(message=json.dumps(obj=dict(progress_bar_id=progress_bar_id, format_dict=format_dict)))
)

# Wait for messages from the client
async for message in websocket:
Expand Down

0 comments on commit 8493fc8

Please sign in to comment.