akashcli 4.5.8__tar.gz → 4.5.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {akashcli-4.5.8 → akashcli-4.5.9}/PKG-INFO +1 -1
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/_net.py +4 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli.egg-info/PKG-INFO +1 -1
- {akashcli-4.5.8 → akashcli-4.5.9}/pyproject.toml +1 -1
- {akashcli-4.5.8 → akashcli-4.5.9}/README.md +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/__init__.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/auth.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/cli.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/client.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/config.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/crypto.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/env_manager.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/exceptions.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/exec.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/integrity.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/logger.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/models.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/p2p.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/packages.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/relay.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/restore.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/snapshot_crypto.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/storage.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/terminal.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/uploader.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli/utils.py +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli.egg-info/SOURCES.txt +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli.egg-info/dependency_links.txt +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli.egg-info/entry_points.txt +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli.egg-info/requires.txt +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/akashcli.egg-info/top_level.txt +0 -0
- {akashcli-4.5.8 → akashcli-4.5.9}/setup.cfg +0 -0
|
@@ -113,6 +113,10 @@ def ws_connect(url: str, **kwargs):
|
|
|
113
113
|
sock_timeout = kwargs.pop("_sock_timeout", 15)
|
|
114
114
|
sock = make_socket(host, port, timeout=sock_timeout)
|
|
115
115
|
|
|
116
|
+
# legacy=True: allow calling connect() outside of a `with` block.
|
|
117
|
+
# websockets ≥ 13 requires context manager usage by default;
|
|
118
|
+
# legacy mode silences the deprecation and preserves the old API.
|
|
119
|
+
kwargs.setdefault("legacy", True)
|
|
116
120
|
if use_tls:
|
|
117
121
|
return _wsc.connect(url, sock=sock, ssl=ssl_context(), **kwargs)
|
|
118
122
|
return _wsc.connect(url, sock=sock, **kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|