unicex 0.10.3__py3-none-any.whl → 0.10.5__py3-none-any.whl
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.
- unicex/_base/websocket.py +5 -1
- {unicex-0.10.3.dist-info → unicex-0.10.5.dist-info}/METADATA +1 -1
- {unicex-0.10.3.dist-info → unicex-0.10.5.dist-info}/RECORD +6 -6
- {unicex-0.10.3.dist-info → unicex-0.10.5.dist-info}/WHEEL +0 -0
- {unicex-0.10.3.dist-info → unicex-0.10.5.dist-info}/licenses/LICENSE +0 -0
- {unicex-0.10.3.dist-info → unicex-0.10.5.dist-info}/top_level.txt +0 -0
unicex/_base/websocket.py
CHANGED
|
@@ -41,7 +41,7 @@ class Websocket:
|
|
|
41
41
|
pong_message: str | Callable | None = None,
|
|
42
42
|
no_message_reconnect_timeout: int | float | None = 60,
|
|
43
43
|
reconnect_timeout: int | float | None = 5,
|
|
44
|
-
worker_count: int =
|
|
44
|
+
worker_count: int = 1,
|
|
45
45
|
logger: LoggerLike | None = None,
|
|
46
46
|
decoder: type[_DecoderProtocol] = _JsonDecoder,
|
|
47
47
|
**kwargs: Any, # Не дадим сломаться, если юзер передал ненужные аргументы
|
|
@@ -238,3 +238,7 @@ class Websocket:
|
|
|
238
238
|
await self.restart()
|
|
239
239
|
return
|
|
240
240
|
await asyncio.sleep(1)
|
|
241
|
+
|
|
242
|
+
def __repr__(self) -> str:
|
|
243
|
+
"""Репрезентация вебсокета."""
|
|
244
|
+
return f"<Websocket(url={self._url[:15]}...)>"
|
|
@@ -11,7 +11,7 @@ unicex/_abc/uni_client.py,sha256=ZjxK8aqCGLUUYy1UQTM9EvWn1IXwMkH2Db8sZrs1e_I,137
|
|
|
11
11
|
unicex/_abc/uni_websocket_manager.py,sha256=yYKypPkIe3rKfWBuTsS8rkwIPljpd1588CYDkeTOYqE,9905
|
|
12
12
|
unicex/_base/__init__.py,sha256=0TmevATGnRB3qow6tkCR8dQKNZCWKeib6YQjNJ4a1b0,236
|
|
13
13
|
unicex/_base/client.py,sha256=asIIQLZlRwwmUDvxveSv7aCvth54iiSRJdz19bxGorI,8904
|
|
14
|
-
unicex/_base/websocket.py,sha256=
|
|
14
|
+
unicex/_base/websocket.py,sha256=7IUIO2-KyjTswK3nTkRI7uQkNq6NYS_EhaG7tJQCPeg,11430
|
|
15
15
|
unicex/binance/__init__.py,sha256=sDk4ZjakRdpFMaMSpOCfqjf6ZPfAS9tlrt4WlDHtDkw,932
|
|
16
16
|
unicex/binance/adapter.py,sha256=JbUFyjnDAFtyuYYrh90YeOvQOZQ6faim0nWS6U0NxXw,8799
|
|
17
17
|
unicex/binance/client.py,sha256=1qPx0uRT4prC6saLBQ55pXDWcWTCKhYEwVIysiihPgU,60984
|
|
@@ -86,8 +86,8 @@ unicex/okx/uni_client.py,sha256=E_Wod0JSGt1K6k1mAIWnOv350pELbv-nic7g1KgOuos,8694
|
|
|
86
86
|
unicex/okx/uni_websocket_manager.py,sha256=b4f_QjA64DJmENQdIGb5IOVc7kvit7KMCdWeCmRbxGY,9326
|
|
87
87
|
unicex/okx/user_websocket.py,sha256=8c9kpm-xVa729pW93OKUGLHaE9MY0uzEpjIgNIFRF80,126
|
|
88
88
|
unicex/okx/websocket_manager.py,sha256=wROXTUDqKzOE-wDnCtXso_MC4SzfPuPols5aPg_Z3y4,26027
|
|
89
|
-
unicex-0.10.
|
|
90
|
-
unicex-0.10.
|
|
91
|
-
unicex-0.10.
|
|
92
|
-
unicex-0.10.
|
|
93
|
-
unicex-0.10.
|
|
89
|
+
unicex-0.10.5.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
|
|
90
|
+
unicex-0.10.5.dist-info/METADATA,sha256=szG-lX8SWtYyFHjxbXC4vtXFCXaoONAMp0_qubxxWkA,9146
|
|
91
|
+
unicex-0.10.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
92
|
+
unicex-0.10.5.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
|
|
93
|
+
unicex-0.10.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|