maxapi-python 2.0.0__py3-none-any.whl → 2.0.1__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.
- {maxapi_python-2.0.0.dist-info → maxapi_python-2.0.1.dist-info}/METADATA +1 -1
- {maxapi_python-2.0.0.dist-info → maxapi_python-2.0.1.dist-info}/RECORD +6 -6
- pymax/__init__.py +1 -1
- pymax/dispatch/mapping.py +2 -2
- {maxapi_python-2.0.0.dist-info → maxapi_python-2.0.1.dist-info}/WHEEL +0 -0
- {maxapi_python-2.0.0.dist-info → maxapi_python-2.0.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pymax/__init__.py,sha256=
|
|
1
|
+
pymax/__init__.py,sha256=VwI1ovI8bCXUiQmHQgSqv3mbr3z7T_sXRk11-84ItPQ,1255
|
|
2
2
|
pymax/app.py,sha256=yZBRWDy60DfzZFdsNDovhCI3N_hCgBkwkFSVFr13jCI,9489
|
|
3
3
|
pymax/base.py,sha256=Qy4E8Rr-4xuJE-rlFP624O35slEwUyu3gtqUcPbGr-c,7212
|
|
4
4
|
pymax/client.py,sha256=YCOZI_BIUvDKGNXBxnVErVTZ8cXr8DE8SS9UqGD85VA,3967
|
|
@@ -59,7 +59,7 @@ pymax/connection/readers/ws.py,sha256=IjeH5CoXvBWde46tZLx6uKONkjhCU6NeC79x3Swfw8
|
|
|
59
59
|
pymax/dispatch/__init__.py,sha256=bvHjlw2ltujMAiegW-Sv2fSGKUnkmtPcYINUZ-Ty8qo,189
|
|
60
60
|
pymax/dispatch/dispatcher.py,sha256=rXsBfxYzL0KbK-IZgiQI-SAVFSxDX1V5YZi2Jj6bubs,6948
|
|
61
61
|
pymax/dispatch/enums.py,sha256=b2ZMBON7ls4QDjeoye-o7mPHFxMxc-CTtYBUuKyhfrQ,298
|
|
62
|
-
pymax/dispatch/mapping.py,sha256=
|
|
62
|
+
pymax/dispatch/mapping.py,sha256=QPz4b1RQFXnsMA6uM8re3HnjaOz3GvsSoIzfifdGZH4,2404
|
|
63
63
|
pymax/dispatch/resolvers.py,sha256=XAZFy2N_zKuVztbwGKF_wzzUrrfM4cs1nGxiSP2jb1w,1511
|
|
64
64
|
pymax/dispatch/router.py,sha256=i9HCycAP3It8-Pm88P3_X3vzn7MblWzuHbB5Rx-7TLM,6590
|
|
65
65
|
pymax/files/__init__.py,sha256=TR0N6YXX4IHBsXQo8uiK68C-Xg3LSj48d4Zsv71CWZE,126
|
|
@@ -134,7 +134,7 @@ pymax/types/events/__init__.py,sha256=fNLP_8zYRsew2k-1s8wXCJeSPm8QQ4gmiZ86B51SuC
|
|
|
134
134
|
pymax/types/events/file.py,sha256=XhpXn0Vt9OODkx1OkGb9jfQwc1uNgz1NTn_j9FZnQ8s,102
|
|
135
135
|
pymax/types/events/message.py,sha256=d4dlnpu3VCtZ4vFdRXaACvydAE9sbGGkk52E48K0U_U,1248
|
|
136
136
|
pymax/types/events/video.py,sha256=swBHYadmDS0SjLXGqVqRYsuMoVZ6MjD2aYR2fbM-AJc,104
|
|
137
|
-
maxapi_python-2.0.
|
|
138
|
-
maxapi_python-2.0.
|
|
139
|
-
maxapi_python-2.0.
|
|
140
|
-
maxapi_python-2.0.
|
|
137
|
+
maxapi_python-2.0.1.dist-info/METADATA,sha256=NqjROzagQhTyDRmgrDoxpxbLhczFZlZHkpBBmvIxfeA,7563
|
|
138
|
+
maxapi_python-2.0.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
139
|
+
maxapi_python-2.0.1.dist-info/licenses/LICENSE,sha256=hOR249ItqMdcly1A0amqEWRNRTq4Gv5NJtmQ3A5qK4E,1070
|
|
140
|
+
maxapi_python-2.0.1.dist-info/RECORD,,
|
pymax/__init__.py
CHANGED
pymax/dispatch/mapping.py
CHANGED
|
@@ -28,7 +28,7 @@ EVENT_MAP: dict[Opcode, Resolver] = {
|
|
|
28
28
|
|
|
29
29
|
class EventResolver:
|
|
30
30
|
def resolve(self, frame: InboundFrame) -> EventType | None:
|
|
31
|
-
if frame.cmd != Command.
|
|
31
|
+
if frame.cmd != Command.REQUEST:
|
|
32
32
|
return None
|
|
33
33
|
|
|
34
34
|
try:
|
|
@@ -48,7 +48,7 @@ class EventMapper:
|
|
|
48
48
|
self.app = app
|
|
49
49
|
|
|
50
50
|
def map(self, event_type: EventType, frame: InboundFrame):
|
|
51
|
-
if frame.cmd != Command.
|
|
51
|
+
if frame.cmd != Command.REQUEST:
|
|
52
52
|
return None
|
|
53
53
|
|
|
54
54
|
if frame.payload:
|
|
File without changes
|
|
File without changes
|