Bump websockets from 13.1 to 14.1 (#319)
* Bump websockets from 13.1 to 14.1 Bumps [websockets](https://github.com/python-websockets/websockets) from 13.1 to 14.1. - [Release notes](https://github.com/python-websockets/websockets/releases) - [Commits](https://github.com/python-websockets/websockets/compare/13.1...14.1) --- updated-dependencies: - dependency-name: websockets dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * use Python 3.9 only * update deprecated websocket connection * generate client * ignore .vscode/ --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Greg Sweeney <greg@kittycad.io>
This commit is contained in:
@ -1,7 +1,13 @@
|
||||
from typing import Any, Dict
|
||||
|
||||
from websockets.client import WebSocketClientProtocol, connect as ws_connect_async
|
||||
from websockets.sync.client import ClientConnection, connect as ws_connect
|
||||
from websockets.asyncio.client import (
|
||||
ClientConnection as ClientConnectionAsync,
|
||||
connect as ws_connect_async,
|
||||
)
|
||||
from websockets.sync.client import (
|
||||
ClientConnection as ClientConnectionSync,
|
||||
connect as ws_connect,
|
||||
)
|
||||
|
||||
from ...client import Client
|
||||
|
||||
@ -26,7 +32,7 @@ def _get_kwargs(
|
||||
def sync(
|
||||
*,
|
||||
client: Client,
|
||||
) -> ClientConnection:
|
||||
) -> ClientConnectionSync:
|
||||
"""Attach to a docker container to create an interactive terminal.""" # noqa: E501
|
||||
|
||||
kwargs = _get_kwargs(
|
||||
@ -44,7 +50,7 @@ def sync(
|
||||
async def asyncio(
|
||||
*,
|
||||
client: Client,
|
||||
) -> WebSocketClientProtocol:
|
||||
) -> ClientConnectionAsync:
|
||||
"""Attach to a docker container to create an interactive terminal.""" # noqa: E501
|
||||
|
||||
kwargs = _get_kwargs(
|
||||
|
Reference in New Issue
Block a user