Skip to content

Commit

Permalink
build(deps): bump websockets from 12.0 to 13.1 in /autogpt_platform/b…
Browse files Browse the repository at this point in the history
…ackend (#8477)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
  • Loading branch information
dependabot[bot] and ntindle authored Oct 28, 2024
1 parent 7e63a8f commit d8317c8
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 79 deletions.
4 changes: 2 additions & 2 deletions autogpt_platform/backend/backend/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,13 @@ def websocket(server_address: str, graph_id: str):
"""
import asyncio

import websockets
import websockets.asyncio.client

from backend.server.ws_api import ExecutionSubscription, Methods, WsMessage

async def send_message(server_address: str):
uri = f"ws://{server_address}"
async with websockets.connect(uri) as websocket:
async with websockets.asyncio.client.connect(uri) as websocket:
try:
msg = WsMessage(
method=Methods.SUBSCRIBE,
Expand Down
Loading

0 comments on commit d8317c8

Please sign in to comment.