HomeAssistant-API 4.1.1.post1__tar.gz → 4.1.1.post2__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.
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/PKG-INFO +1 -1
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/processing.py +2 -1
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/pyproject.toml +2 -2
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/LICENSE +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/README.md +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/__init__.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/client.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/errors.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/__init__.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/base.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/domains.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/entity.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/events.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/history.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/logbook.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/states.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/py.typed +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/rawasyncclient.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/rawbaseclient.py +0 -0
- {homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/rawclient.py +0 -0
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/processing.py
RENAMED
|
@@ -59,10 +59,11 @@ class Processing:
|
|
|
59
59
|
calls the processor with the response.
|
|
60
60
|
"""
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
mimetype_header = self._response.headers.get( # type: ignore [arg-type]
|
|
63
63
|
"content-type",
|
|
64
64
|
"text/plain",
|
|
65
65
|
)
|
|
66
|
+
mimetype = mimetype_header.split(";")[0]
|
|
66
67
|
for processor in self._processors.get(mimetype, ()):
|
|
67
68
|
if not async_ ^ inspect.iscoroutinefunction(processor):
|
|
68
69
|
logger.debug("Using processor %r on %r", processor, self._response)
|
|
@@ -12,7 +12,7 @@ name = "HomeAssistant-API"
|
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
include = ["homeassistant_api/py.typed"]
|
|
14
14
|
repository = "https://github.com/GrandMoff100/HomeAssistantAPI"
|
|
15
|
-
version = "4.1.1.
|
|
15
|
+
version = "4.1.1.post2"
|
|
16
16
|
packages = [{ include = "homeassistant_api" }]
|
|
17
17
|
|
|
18
18
|
[tool.poetry.dependencies]
|
|
@@ -95,4 +95,4 @@ profile = "black"
|
|
|
95
95
|
disable_error_code = [
|
|
96
96
|
"no-untyped-def",
|
|
97
97
|
"name-defined",
|
|
98
|
-
]
|
|
98
|
+
]
|
|
File without changes
|
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/__init__.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/base.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/domains.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/entity.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/events.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/history.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/logbook.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/models/states.py
RENAMED
|
File without changes
|
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/rawasyncclient.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/rawbaseclient.py
RENAMED
|
File without changes
|
{homeassistant_api-4.1.1.post1 → homeassistant_api-4.1.1.post2}/homeassistant_api/rawclient.py
RENAMED
|
File without changes
|