uiprotect 6.6.2__tar.gz → 6.6.3__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-6.6.2 → uiprotect-6.6.3}/PKG-INFO +1 -1
- {uiprotect-6.6.2 → uiprotect-6.6.3}/pyproject.toml +1 -1
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/api.py +2 -4
- {uiprotect-6.6.2 → uiprotect-6.6.3}/LICENSE +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/README.md +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/__init__.py +1 -1
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/__main__.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/_compat.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/__init__.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/backup.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/base.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/cameras.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/chimes.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/doorlocks.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/events.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/lights.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/liveviews.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/nvr.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/sensors.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/cli/viewers.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/__init__.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/base.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/bootstrap.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/convert.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/devices.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/nvr.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/types.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/user.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/data/websocket.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/exceptions.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/py.typed +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/release_cache.json +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/stream.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/test_util/__init__.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/test_util/anonymize.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/utils.py +0 -0
- {uiprotect-6.6.2 → uiprotect-6.6.3}/src/uiprotect/websocket.py +0 -0
|
@@ -12,7 +12,7 @@ import time
|
|
|
12
12
|
from collections.abc import Callable
|
|
13
13
|
from datetime import datetime, timedelta
|
|
14
14
|
from functools import partial
|
|
15
|
-
from http import HTTPStatus
|
|
15
|
+
from http import HTTPStatus, cookies
|
|
16
16
|
from http.cookies import Morsel, SimpleCookie
|
|
17
17
|
from ipaddress import IPv4Address, IPv6Address
|
|
18
18
|
from pathlib import Path
|
|
@@ -67,9 +67,7 @@ from .utils import (
|
|
|
67
67
|
)
|
|
68
68
|
from .websocket import Websocket, WebsocketState
|
|
69
69
|
|
|
70
|
-
if
|
|
71
|
-
from http import cookies
|
|
72
|
-
|
|
70
|
+
if "partitioned" not in cookies.Morsel._reserved: # type: ignore[attr-defined]
|
|
73
71
|
# See: https://github.com/python/cpython/issues/112713
|
|
74
72
|
cookies.Morsel._reserved["partitioned"] = "partitioned" # type: ignore[attr-defined]
|
|
75
73
|
cookies.Morsel._flags.add("partitioned") # type: ignore[attr-defined]
|
|
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
|