wslink 2.1.1__py3-none-any.whl → 2.1.3__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.
@@ -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.1
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.
@@ -21,10 +21,10 @@ Classifier: Programming Language :: Python :: 3.7
21
21
  Classifier: Programming Language :: Python :: 3.8
22
22
  Classifier: Programming Language :: Python :: 3.9
23
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
- Requires-Dist: aiohttp <4
25
- Requires-Dist: msgpack <2,>=1
24
+ Requires-Dist: aiohttp<4
25
+ Requires-Dist: msgpack<2,>=1
26
26
  Provides-Extra: ssl
27
- Requires-Dist: cryptography ; extra == 'ssl'
27
+ Requires-Dist: cryptography; extra == "ssl"
28
28
 
29
29
  wslink
30
30
  ======
@@ -14,12 +14,12 @@ wslink/backends/aiohttp/__init__.py,sha256=Bc3uPVrhNXnn5Xt3Tck2Th-dsysz1VAnQdh8W
14
14
  wslink/backends/aiohttp/launcher.py,sha256=gHNMvtgNHEwBN_QBRDSCrTp2B4K1PsfV81rKaHi7Cxo,8897
15
15
  wslink/backends/aiohttp/relay.py,sha256=oZAzIQTpsQaObWXaa-_VtoTOUQALC_QLDd9UvWspYaU,13311
16
16
  wslink/backends/generic/__init__.py,sha256=Qu65gWsd2xCSsxybnDtEDI5vMjHN-F5jgPZOyNIxnGs,112
17
- wslink/backends/generic/core.py,sha256=7Tx02wzoIWsx9sTLrKB0gaZcTk2JT_OBYz_ZOOljfAU,4356
17
+ wslink/backends/generic/core.py,sha256=JuLeT6by2NA7y3qQL_aZCYEsAREZmshDZAvSnO1T_bo,4363
18
18
  wslink/backends/jupyter/__init__.py,sha256=Qu65gWsd2xCSsxybnDtEDI5vMjHN-F5jgPZOyNIxnGs,112
19
19
  wslink/backends/jupyter/core.py,sha256=PCQN-uZPFROnRv8B5dNwnwHV67o4Bpme3_Z6V-zbOUA,3864
20
20
  wslink/backends/tornado/__init__.py,sha256=Qu65gWsd2xCSsxybnDtEDI5vMjHN-F5jgPZOyNIxnGs,112
21
21
  wslink/backends/tornado/core.py,sha256=tPMkkhWuO_ovkisVim0zcegwZKEAG4IRUdd_O_0a_R0,2157
22
- wslink-2.1.1.dist-info/METADATA,sha256=oO-nFJoYE5H1GuJGMtRWgzZ4zrpEWgGLRkeaivNzIh8,3123
23
- wslink-2.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
- wslink-2.1.1.dist-info/top_level.txt,sha256=N0d8eqvhwhfW1p1yPTmvxlbzhjz7ZyhBfysNvaFqpQY,7
25
- wslink-2.1.1.dist-info/RECORD,,
22
+ wslink-2.1.3.dist-info/METADATA,sha256=MY8aB802QkaDhIEEw7ekhqlW371QtyqLk4uws5kMqwY,3120
23
+ wslink-2.1.3.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
24
+ wslink-2.1.3.dist-info/top_level.txt,sha256=N0d8eqvhwhfW1p1yPTmvxlbzhjz7ZyhBfysNvaFqpQY,7
25
+ wslink-2.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5