ephaptic 0.2.5__py3-none-any.whl → 0.2.6__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.
- ephaptic/ephaptic.py +3 -0
- {ephaptic-0.2.5.dist-info → ephaptic-0.2.6.dist-info}/METADATA +1 -1
- {ephaptic-0.2.5.dist-info → ephaptic-0.2.6.dist-info}/RECORD +7 -7
- {ephaptic-0.2.5.dist-info → ephaptic-0.2.6.dist-info}/WHEEL +0 -0
- {ephaptic-0.2.5.dist-info → ephaptic-0.2.6.dist-info}/entry_points.txt +0 -0
- {ephaptic-0.2.5.dist-info → ephaptic-0.2.6.dist-info}/licenses/LICENSE +0 -0
- {ephaptic-0.2.5.dist-info → ephaptic-0.2.6.dist-info}/top_level.txt +0 -0
ephaptic/ephaptic.py
CHANGED
|
@@ -95,14 +95,17 @@ class EphapticTarget:
|
|
|
95
95
|
return emitter
|
|
96
96
|
|
|
97
97
|
def expose(func: Callable):
|
|
98
|
+
global _EXPOSED_FUNCTIONS
|
|
98
99
|
_EXPOSED_FUNCTIONS[func.__name__] = func
|
|
99
100
|
return func
|
|
100
101
|
|
|
101
102
|
def identity_loader(func: Callable):
|
|
103
|
+
global _IDENTITY_LOADER
|
|
102
104
|
_IDENTITY_LOADER = func
|
|
103
105
|
return func
|
|
104
106
|
|
|
105
107
|
def event(model: typing.Type[pydantic.BaseModel]):
|
|
108
|
+
global _EXPOSED_EVENTS
|
|
106
109
|
_EXPOSED_EVENTS[model.__name__] = model
|
|
107
110
|
return model
|
|
108
111
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ephaptic/__init__.py,sha256=QIEfepOHMtM6Lrxg4AwZ28gEj0D5TY2UP8MGlrAb-DI,137
|
|
2
|
-
ephaptic/ephaptic.py,sha256=
|
|
2
|
+
ephaptic/ephaptic.py,sha256=2Yd1gXrzXWjUiMm0yubt84JUC4PesUrRWnql_rbbfTU,11989
|
|
3
3
|
ephaptic/localproxy.py,sha256=fJaaskkiD6C2zaOod0F0HNWIbdKs_JMuHFwd0-sdLIM,19477
|
|
4
4
|
ephaptic/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
ephaptic/adapters/fastapi_.py,sha256=yfSbJuA7Tgeh9EhZkfIve0Uj-cOZmTBljlBsCRKh2EE,1007
|
|
@@ -11,9 +11,9 @@ ephaptic/client/client.py,sha256=YYAlzA40xBvWsiDu0Gsd1EBJaqivLR-bSszepWdNODs,418
|
|
|
11
11
|
ephaptic/transports/__init__.py,sha256=kSAlgvm8sV9nHHu61LTjjTpv4bweah90xvFrwQMDQtQ,169
|
|
12
12
|
ephaptic/transports/fastapi_ws.py,sha256=X0PMRcwM-KDpKA-zXShGTFhD1kHMSqrx3PBBKZtQ1W0,258
|
|
13
13
|
ephaptic/transports/websocket.py,sha256=jwgclSDSq0lQCvgwjwUXe9MzPk7NH0FdmsLhWxYBh-4,261
|
|
14
|
-
ephaptic-0.2.
|
|
15
|
-
ephaptic-0.2.
|
|
16
|
-
ephaptic-0.2.
|
|
17
|
-
ephaptic-0.2.
|
|
18
|
-
ephaptic-0.2.
|
|
19
|
-
ephaptic-0.2.
|
|
14
|
+
ephaptic-0.2.6.dist-info/licenses/LICENSE,sha256=kMpJjLKMj6zsAhf4uHApO4q0r31Ye1VyfBOl9cFW13M,1065
|
|
15
|
+
ephaptic-0.2.6.dist-info/METADATA,sha256=s7vEc7TfL7wjn4geyzgkpqtYLxh4hG0Bryemfqgmu7M,8533
|
|
16
|
+
ephaptic-0.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
ephaptic-0.2.6.dist-info/entry_points.txt,sha256=lis9vIDIrMVJM43r9ooFkb07KhrX4946duvYru3VfT4,46
|
|
18
|
+
ephaptic-0.2.6.dist-info/top_level.txt,sha256=nNhdhcz2o_IuwZ9I2uWQuLZrRmSW0dQVU3qwGrb35Io,9
|
|
19
|
+
ephaptic-0.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|