pondsocket-client 0.0.1__tar.gz → 0.0.3__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.
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/PKG-INFO +2 -2
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/pyproject.toml +2 -2
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/__init__.py +1 -1
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/_channel.py +2 -1
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/tests/test_pondsocket_client_smoke.py +1 -1
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/.gitignore +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/README.md +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/_base.py +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/_websocket.py +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/client.py +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/py.typed +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/src/pondsocket_client/types.py +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/tests/test_pondsocket_client_base.py +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/tests/test_pondsocket_client_channel.py +0 -0
- {pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/tests/test_pondsocket_client_integration.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pondsocket-client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: PondSocket Python client — connect to a PondSocket server from Python.
|
|
5
5
|
Author: eleven-am
|
|
6
6
|
License: GPL-3.0-or-later
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
|
-
Requires-Dist: pondsocket-common<0.1.0,>=0.0.
|
|
8
|
+
Requires-Dist: pondsocket-common<0.1.0,>=0.0.3
|
|
9
9
|
Requires-Dist: websockets>=13
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pondsocket-client"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.3"
|
|
4
4
|
description = "PondSocket Python client — connect to a PondSocket server from Python."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
7
|
license = { text = "GPL-3.0-or-later" }
|
|
8
8
|
authors = [{ name = "eleven-am" }]
|
|
9
9
|
dependencies = [
|
|
10
|
-
"pondsocket-common>=0.0.
|
|
10
|
+
"pondsocket-common>=0.0.3,<0.1.0",
|
|
11
11
|
"websockets>=13",
|
|
12
12
|
]
|
|
13
13
|
|
|
@@ -159,10 +159,11 @@ class Channel:
|
|
|
159
159
|
try:
|
|
160
160
|
return await asyncio.wait_for(fut, timeout=wait_seconds)
|
|
161
161
|
except TimeoutError as e:
|
|
162
|
-
self._pending_responses.pop(request_id, None)
|
|
163
162
|
raise ResponseTimeoutError(
|
|
164
163
|
f"no response received for event {event!r} within {wait_seconds}s"
|
|
165
164
|
) from e
|
|
165
|
+
finally:
|
|
166
|
+
self._pending_responses.pop(request_id, None)
|
|
166
167
|
|
|
167
168
|
def handle_event(self, event: ChannelEvent) -> None:
|
|
168
169
|
if self._closed:
|
|
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
|
{pondsocket_client-0.0.1 → pondsocket_client-0.0.3}/tests/test_pondsocket_client_integration.py
RENAMED
|
File without changes
|