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:
dependabot[bot]
2024-11-26 13:36:23 -05:00
committed by GitHub
parent 717c842932
commit 779a1c3458
8 changed files with 855 additions and 859 deletions

View File

@ -3,9 +3,9 @@ import json
import bson
from websockets.sync.client import connect as ws_connect
from websockets.client import connect as ws_connect_async
from websockets.sync.client import ClientConnection
from websockets.client import WebSocketClientProtocol
from websockets.asyncio.client import connect as ws_connect_async
from websockets.sync.client import ClientConnection as ClientConnectionSync
from websockets.asyncio.client import ClientConnection as ClientConnectionAsync
from ...client import Client
@ -81,7 +81,7 @@ def sync(
{% endif %}
{% endif %}
{% endfor %}
) -> ClientConnection:
) -> ClientConnectionSync:
{%if docs%}"""{{docs}}""" # noqa: E501{% endif %}
kwargs = _get_kwargs(
@ -114,7 +114,7 @@ async def asyncio(
{% endif %}
{% endif %}
{% endfor %}
) -> WebSocketClientProtocol:
) -> ClientConnectionAsync:
{%if docs%}"""{{docs}}""" # noqa: E501{% endif %}
kwargs = _get_kwargs(
@ -132,7 +132,7 @@ async def asyncio(
{% if has_request_body %}
class WebSocket:
"""A websocket connection to the API endpoint."""
ws: ClientConnection
ws: ClientConnectionSync
def __init__(self,
{% for arg in args %}