wslink 2.2.1__tar.gz → 2.2.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. {wslink-2.2.1 → wslink-2.2.2}/PKG-INFO +1 -1
  2. {wslink-2.2.1 → wslink-2.2.2}/setup.cfg +1 -1
  3. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/aiohttp/__init__.py +3 -1
  4. {wslink-2.2.1 → wslink-2.2.2}/src/wslink.egg-info/PKG-INFO +1 -1
  5. {wslink-2.2.1 → wslink-2.2.2}/MANIFEST.in +0 -0
  6. {wslink-2.2.1 → wslink-2.2.2}/README.rst +0 -0
  7. {wslink-2.2.1 → wslink-2.2.2}/setup.py +0 -0
  8. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/LICENSE +0 -0
  9. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/__init__.py +0 -0
  10. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/__init__.py +0 -0
  11. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/aiohttp/launcher.py +0 -0
  12. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/aiohttp/relay.py +0 -0
  13. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/generic/__init__.py +0 -0
  14. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/generic/core.py +0 -0
  15. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/jupyter/__init__.py +0 -0
  16. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/jupyter/core.py +0 -0
  17. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/tornado/__init__.py +0 -0
  18. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/backends/tornado/core.py +0 -0
  19. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/chunking.py +0 -0
  20. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/launcher.py +0 -0
  21. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/protocol.py +0 -0
  22. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/publish.py +0 -0
  23. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/relay.py +0 -0
  24. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/server.py +0 -0
  25. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/ssl_context.py +0 -0
  26. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/uri.py +0 -0
  27. {wslink-2.2.1 → wslink-2.2.2}/src/wslink/websocket.py +0 -0
  28. {wslink-2.2.1 → wslink-2.2.2}/src/wslink.egg-info/SOURCES.txt +0 -0
  29. {wslink-2.2.1 → wslink-2.2.2}/src/wslink.egg-info/dependency_links.txt +0 -0
  30. {wslink-2.2.1 → wslink-2.2.2}/src/wslink.egg-info/requires.txt +0 -0
  31. {wslink-2.2.1 → wslink-2.2.2}/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.2.1
3
+ Version: 2.2.2
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.2.1
2
+ version = 2.2.2
3
3
 
4
4
  [egg_info]
5
5
  tag_build =
@@ -23,6 +23,8 @@ HTTP_HEADERS: str | None = os.environ.get("WSLINK_HTTP_HEADERS") # path to json
23
23
  if HTTP_HEADERS and Path(HTTP_HEADERS).exists():
24
24
  HTTP_HEADERS: dict = json.loads(Path(HTTP_HEADERS).read_text())
25
25
 
26
+ STATE_KEY = aiohttp_web.AppKey("state", str)
27
+
26
28
  logger = logging.getLogger(__name__)
27
29
 
28
30
  # -----------------------------------------------------------------------------
@@ -92,7 +94,7 @@ class WebAppServer(AbstractWebApp):
92
94
  self.app.router.add_route("GET", "/", _root_handler)
93
95
  self.app.add_routes(routes)
94
96
 
95
- self.app["state"] = {}
97
+ self.app[STATE_KEY] = {}
96
98
 
97
99
  # -------------------------------------------------------------------------
98
100
  # Server status
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslink
3
- Version: 2.2.1
3
+ Version: 2.2.2
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