ephaptic 0.2.7__tar.gz → 0.2.8__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 (24) hide show
  1. {ephaptic-0.2.7 → ephaptic-0.2.8}/PKG-INFO +1 -1
  2. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/ephaptic.py +8 -3
  3. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic.egg-info/PKG-INFO +1 -1
  4. {ephaptic-0.2.7 → ephaptic-0.2.8}/pyproject.toml +1 -1
  5. {ephaptic-0.2.7 → ephaptic-0.2.8}/LICENSE +0 -0
  6. {ephaptic-0.2.7 → ephaptic-0.2.8}/README.md +0 -0
  7. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/__init__.py +0 -0
  8. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/adapters/__init__.py +0 -0
  9. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/adapters/fastapi_.py +0 -0
  10. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/adapters/quart_.py +0 -0
  11. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/cli/__init__.py +0 -0
  12. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/cli/__main__.py +0 -0
  13. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/client/__init__.py +0 -0
  14. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/client/client.py +0 -0
  15. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/localproxy.py +0 -0
  16. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/transports/__init__.py +0 -0
  17. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/transports/fastapi_ws.py +0 -0
  18. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic/transports/websocket.py +0 -0
  19. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic.egg-info/SOURCES.txt +0 -0
  20. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic.egg-info/dependency_links.txt +0 -0
  21. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic.egg-info/entry_points.txt +0 -0
  22. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic.egg-info/requires.txt +0 -0
  23. {ephaptic-0.2.7 → ephaptic-0.2.8}/ephaptic.egg-info/top_level.txt +0 -0
  24. {ephaptic-0.2.7 → ephaptic-0.2.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ephaptic
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: The Python client/server package for ephaptic.
5
5
  Author-email: uukelele <robustrobot11@gmail.com>
6
6
  License: MIT License
@@ -1,5 +1,5 @@
1
1
  import asyncio
2
- from warnings import deprecated
2
+ import warnings
3
3
  import msgpack
4
4
  import redis.asyncio as redis
5
5
  import pydantic
@@ -172,7 +172,12 @@ class Ephaptic:
172
172
  return EphapticTarget(targets)
173
173
 
174
174
  def __getattr__(self, name: str):
175
- @deprecated("Use `emit` and the new (typed) event system instead.")
175
+ warnings.warn(
176
+ "Use `emit` and the new (typed) event system instead.",
177
+ DeprecationWarning,
178
+ stacklevel=2,
179
+ )
180
+ # @deprecated("")
176
181
  async def emitter(*args, **kwargs):
177
182
  transport: Transport = _active_transport_ctx.get()
178
183
  if not transport:
@@ -309,4 +314,4 @@ class Ephaptic:
309
314
  import traceback
310
315
  traceback.print_exc()
311
316
  finally:
312
- if current_uid: manager.remove(current_uid, transport)
317
+ if current_uid: manager.remove(current_uid, transport)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ephaptic
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: The Python client/server package for ephaptic.
5
5
  Author-email: uukelele <robustrobot11@gmail.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ephaptic"
7
- version = "0.2.7"
7
+ version = "0.2.8"
8
8
  authors = [
9
9
  { name="uukelele", email="robustrobot11@gmail.com" },
10
10
  ]
File without changes
File without changes
File without changes
File without changes