uiprotect 3.2.0__py3-none-any.whl → 3.3.0__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.
Potentially problematic release.
This version of uiprotect might be problematic. Click here for more details.
- uiprotect/data/base.py +16 -11
- {uiprotect-3.2.0.dist-info → uiprotect-3.3.0.dist-info}/METADATA +1 -1
- {uiprotect-3.2.0.dist-info → uiprotect-3.3.0.dist-info}/RECORD +6 -6
- {uiprotect-3.2.0.dist-info → uiprotect-3.3.0.dist-info}/LICENSE +0 -0
- {uiprotect-3.2.0.dist-info → uiprotect-3.3.0.dist-info}/WHEEL +0 -0
- {uiprotect-3.2.0.dist-info → uiprotect-3.3.0.dist-info}/entry_points.txt +0 -0
uiprotect/data/base.py
CHANGED
|
@@ -433,17 +433,22 @@ class ProtectBaseObject(BaseModel):
|
|
|
433
433
|
has_unifi_dicts,
|
|
434
434
|
) = self._get_protect_model()
|
|
435
435
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
436
|
+
if has_unifi_objs:
|
|
437
|
+
for key, klass in unifi_objs.items():
|
|
438
|
+
if use_obj or key in data:
|
|
439
|
+
data[key] = self._unifi_dict_protect_obj(data, key, use_obj, klass)
|
|
440
|
+
|
|
441
|
+
if has_unifi_lists:
|
|
442
|
+
for key, klass in unifi_lists.items():
|
|
443
|
+
if use_obj or key in data:
|
|
444
|
+
data[key] = self._unifi_dict_protect_obj_list(
|
|
445
|
+
data, key, use_obj, klass
|
|
446
|
+
)
|
|
447
|
+
|
|
448
|
+
if has_unifi_dicts:
|
|
449
|
+
for key in unifi_dicts:
|
|
450
|
+
if use_obj or key in data:
|
|
451
|
+
data[key] = self._unifi_dict_protect_obj_dict(data, key, use_obj)
|
|
447
452
|
|
|
448
453
|
# all child objects have been serialized correctly do not do it twice
|
|
449
454
|
new_data: dict[str, Any] = serialize_unifi_obj(data, levels=2)
|
|
@@ -14,7 +14,7 @@ uiprotect/cli/nvr.py,sha256=TwxEg2XT8jXAbOqv6gc7KFXELKadeItEDYweSL4_-e8,4260
|
|
|
14
14
|
uiprotect/cli/sensors.py,sha256=fQtcDJCVxs4VbAqcavgBy2ABiVxAW3GXtna6_XFBp2k,8153
|
|
15
15
|
uiprotect/cli/viewers.py,sha256=2cyrp104ffIvgT0wYGIO0G35QMkEbFe7fSVqLwDXQYQ,2171
|
|
16
16
|
uiprotect/data/__init__.py,sha256=OcfuJl2qXfHcj_mdnrHhzZ5tEIZrw8auziX5IE7dn-I,2938
|
|
17
|
-
uiprotect/data/base.py,sha256=
|
|
17
|
+
uiprotect/data/base.py,sha256=4jYbB4NFEfkLJWXQsVMZkYxjSKaH8DmAAhWknM5uZpk,35128
|
|
18
18
|
uiprotect/data/bootstrap.py,sha256=EWl8zWo3zSN7HWMTgcoWr3UI9WE62Mi6FJ33DTqWTII,21128
|
|
19
19
|
uiprotect/data/convert.py,sha256=8h6Il_DhMkPRDPj9F_rA2UZIlTuchS3BQD24peKpk2A,2185
|
|
20
20
|
uiprotect/data/devices.py,sha256=n2TVY0J-xhO7fXgrvC0hqsHjNc-B_DdySDKHOIKPeqs,110363
|
|
@@ -30,8 +30,8 @@ uiprotect/test_util/__init__.py,sha256=whiOUb5LfDLNT3AQG6ISiKtAqO2JnhCIdFavhWDK4
|
|
|
30
30
|
uiprotect/test_util/anonymize.py,sha256=f-8ijU-_y9r-uAbhIPn0f0I6hzJpAkvJzc8UpWihObI,8478
|
|
31
31
|
uiprotect/utils.py,sha256=3SJFF8qs1Jz8t3mD8qwc1hFSocolFjdXI_v4yVlC7o4,20088
|
|
32
32
|
uiprotect/websocket.py,sha256=D5DZrMzo434ecp8toNxOB5HM193kVwYw42yEcg99yMw,8029
|
|
33
|
-
uiprotect-3.
|
|
34
|
-
uiprotect-3.
|
|
35
|
-
uiprotect-3.
|
|
36
|
-
uiprotect-3.
|
|
37
|
-
uiprotect-3.
|
|
33
|
+
uiprotect-3.3.0.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
|
|
34
|
+
uiprotect-3.3.0.dist-info/METADATA,sha256=kKFiEVIDnRnOsFPx0Cbupw9mzbktegTQp3lOUcj150Y,10982
|
|
35
|
+
uiprotect-3.3.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
36
|
+
uiprotect-3.3.0.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
|
|
37
|
+
uiprotect-3.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|