crypto-ws-api 2.0.9__tar.gz → 2.0.11__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.
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/CHANGELOG.md +8 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/PKG-INFO +1 -1
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/crypto_ws_api/__init__.py +2 -2
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/crypto_ws_api/ws_session.py +1 -3
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/.deepsource.toml +0 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/LICENSE.md +0 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/README.md +0 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/crypto_ws_api/demo.py +0 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/crypto_ws_api/ws_api.toml.template +0 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/pyproject.toml +0 -0
- {crypto-ws-api-2.0.9 → crypto-ws-api-2.0.11}/requirements.txt +0 -0
|
@@ -13,13 +13,13 @@ __maintainer__ = "Jerry Fedorenko"
|
|
|
13
13
|
__contact__ = "https://github.com/DogsTailFarmer"
|
|
14
14
|
__email__ = "jerry.fedorenko@yahoo.com"
|
|
15
15
|
__credits__ = ["https://github.com/DanyaSWorlD"]
|
|
16
|
-
__version__ = "2.0.
|
|
16
|
+
__version__ = "2.0.11"
|
|
17
17
|
|
|
18
18
|
from pathlib import Path
|
|
19
19
|
import shutil
|
|
20
20
|
from platformdirs import user_config_path
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
VERSION = __version__
|
|
23
23
|
TIMEOUT = 5 # sec timeout for WSS initialization and get response
|
|
24
24
|
DELAY = 0.1 # sec delay in keepalive loop
|
|
25
25
|
# Maximum str size for unique query ID
|
|
@@ -90,9 +90,7 @@ class UserWSS:
|
|
|
90
90
|
self.tasks = set()
|
|
91
91
|
|
|
92
92
|
def tasks_manage(self, coro, name=None):
|
|
93
|
-
_t = asyncio.create_task(coro)
|
|
94
|
-
if name:
|
|
95
|
-
_t.set_name(name)
|
|
93
|
+
_t = asyncio.create_task(coro, name=name)
|
|
96
94
|
self.tasks.add(_t)
|
|
97
95
|
_t.add_done_callback(self.tasks.discard)
|
|
98
96
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|