uiprotect 3.1.6__tar.gz → 3.1.7__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.
Potentially problematic release.
This version of uiprotect might be problematic. Click here for more details.
- {uiprotect-3.1.6 → uiprotect-3.1.7}/PKG-INFO +1 -1
- {uiprotect-3.1.6 → uiprotect-3.1.7}/pyproject.toml +1 -1
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/websocket.py +6 -8
- {uiprotect-3.1.6 → uiprotect-3.1.7}/LICENSE +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/README.md +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/__init__.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/__main__.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/api.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/__init__.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/backup.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/base.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/cameras.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/chimes.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/doorlocks.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/events.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/lights.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/liveviews.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/nvr.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/sensors.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/cli/viewers.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/__init__.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/base.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/bootstrap.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/convert.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/devices.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/nvr.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/types.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/data/user.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/exceptions.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/py.typed +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/release_cache.json +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/stream.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/test_util/__init__.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/test_util/anonymize.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/utils.py +0 -0
- {uiprotect-3.1.6 → uiprotect-3.1.7}/src/uiprotect/websocket.py +0 -0
|
@@ -204,10 +204,9 @@ class WSPacket:
|
|
|
204
204
|
def action_frame(self) -> BaseWSPacketFrame:
|
|
205
205
|
if self._action_frame is None:
|
|
206
206
|
self.decode()
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
if TYPE_CHECKING:
|
|
208
|
+
assert self._action_frame is not None
|
|
209
|
+
assert self._data_frame is not None
|
|
211
210
|
self.__dict__["data_frame"] = self._data_frame
|
|
212
211
|
return self._action_frame
|
|
213
212
|
|
|
@@ -215,10 +214,9 @@ class WSPacket:
|
|
|
215
214
|
def data_frame(self) -> BaseWSPacketFrame:
|
|
216
215
|
if self._data_frame is None:
|
|
217
216
|
self.decode()
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
217
|
+
if TYPE_CHECKING:
|
|
218
|
+
assert self._action_frame is not None
|
|
219
|
+
assert self._data_frame is not None
|
|
222
220
|
self.__dict__["action_frame"] = self._action_frame
|
|
223
221
|
return self._data_frame
|
|
224
222
|
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|