wslink 2.1.2__tar.gz → 2.1.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.
Files changed (31) hide show
  1. {wslink-2.1.2 → wslink-2.1.3}/PKG-INFO +1 -1
  2. {wslink-2.1.2 → wslink-2.1.3}/setup.cfg +1 -1
  3. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/generic/core.py +2 -2
  4. {wslink-2.1.2 → wslink-2.1.3}/src/wslink.egg-info/PKG-INFO +1 -1
  5. {wslink-2.1.2 → wslink-2.1.3}/MANIFEST.in +0 -0
  6. {wslink-2.1.2 → wslink-2.1.3}/README.rst +0 -0
  7. {wslink-2.1.2 → wslink-2.1.3}/setup.py +0 -0
  8. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/LICENSE +0 -0
  9. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/__init__.py +0 -0
  10. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/__init__.py +0 -0
  11. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/aiohttp/__init__.py +0 -0
  12. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/aiohttp/launcher.py +0 -0
  13. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/aiohttp/relay.py +0 -0
  14. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/generic/__init__.py +0 -0
  15. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/jupyter/__init__.py +0 -0
  16. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/jupyter/core.py +0 -0
  17. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/tornado/__init__.py +0 -0
  18. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/backends/tornado/core.py +0 -0
  19. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/chunking.py +0 -0
  20. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/launcher.py +0 -0
  21. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/protocol.py +0 -0
  22. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/publish.py +0 -0
  23. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/relay.py +0 -0
  24. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/server.py +0 -0
  25. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/ssl_context.py +0 -0
  26. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/uri.py +0 -0
  27. {wslink-2.1.2 → wslink-2.1.3}/src/wslink/websocket.py +0 -0
  28. {wslink-2.1.2 → wslink-2.1.3}/src/wslink.egg-info/SOURCES.txt +0 -0
  29. {wslink-2.1.2 → wslink-2.1.3}/src/wslink.egg-info/dependency_links.txt +0 -0
  30. {wslink-2.1.2 → wslink-2.1.3}/src/wslink.egg-info/requires.txt +0 -0
  31. {wslink-2.1.2 → wslink-2.1.3}/src/wslink.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslink
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Summary: Python/JavaScript library for communicating over WebSocket
5
5
  Home-page: https://github.com/kitware/wslink
6
6
  Author: Kitware, Inc.
@@ -1,5 +1,5 @@
1
1
  [metadata]
2
- version = 2.1.2
2
+ version = 2.1.3
3
3
 
4
4
  [egg_info]
5
5
  tag_build =
@@ -45,7 +45,7 @@ class WsConnection:
45
45
  async def on_close(self, ws):
46
46
  self.closed = True
47
47
  if self._ws == ws:
48
- ws.disconnect(self.client_id)
48
+ await ws.disconnect(self.client_id)
49
49
  self._ws = None
50
50
 
51
51
  async def send_str(self, value):
@@ -71,7 +71,7 @@ class WsEndpoint(WslinkHandler):
71
71
  )
72
72
  if client_or_id in self.connections:
73
73
  client = self.connections.pop(client_or_id)
74
- await client.onClose(client_or_id)
74
+ await client.on_close(client_or_id)
75
75
 
76
76
 
77
77
  class GenericServer(AbstractWebApp):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslink
3
- Version: 2.1.2
3
+ Version: 2.1.3
4
4
  Summary: Python/JavaScript library for communicating over WebSocket
5
5
  Home-page: https://github.com/kitware/wslink
6
6
  Author: Kitware, Inc.
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