python-omnilogic-local 0.14.2__tar.gz → 0.14.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/PKG-INFO +4 -3
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/filter_diagnostics.py +2 -2
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/leadmessage.py +1 -1
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/mspconfig.py +1 -1
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/telemetry.py +1 -1
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/util.py +1 -1
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyproject.toml +2 -2
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/LICENSE +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/README.md +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/__init__.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/api.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/cli.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/exceptions.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/__init__.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/const.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/protocol.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/types.py +0 -0
- {python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/util.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.3
|
2
2
|
Name: python-omnilogic-local
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.4
|
4
4
|
Summary: A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API
|
5
5
|
Home-page: https://github.com/cryptk/python-omnilogic-local
|
6
6
|
License: Apache-2.0
|
@@ -16,8 +16,9 @@ Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.10
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
19
20
|
Classifier: Topic :: Software Development :: Libraries
|
20
|
-
Requires-Dist: pydantic (>=1.10.
|
21
|
+
Requires-Dist: pydantic (>=1.10.17)
|
21
22
|
Requires-Dist: xmltodict (>=0.13.0,<0.14.0)
|
22
23
|
Project-URL: Repository, https://github.com/cryptk/python-omnilogic-local
|
23
24
|
Description-Content-Type: text/markdown
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
|
3
|
-
from pydantic import BaseModel, Field
|
3
|
+
from pydantic.v1 import BaseModel, Field
|
4
4
|
from xmltodict import parse as xml_parse
|
5
5
|
|
6
6
|
|
@@ -23,7 +23,7 @@ class FilterDiagnostics(BaseModel):
|
|
23
23
|
orm_mode = True
|
24
24
|
|
25
25
|
def get_param_by_name(self, name: str) -> int:
|
26
|
-
return [param.value for param in self.parameters if param.name == name][0]
|
26
|
+
return [param.value for param in self.parameters if param.name == name][0]
|
27
27
|
|
28
28
|
@staticmethod
|
29
29
|
def load_xml(xml: str) -> FilterDiagnostics:
|
@@ -9,7 +9,7 @@ if sys.version_info >= (3, 11):
|
|
9
9
|
else:
|
10
10
|
from typing_extensions import Self
|
11
11
|
|
12
|
-
from pydantic import BaseModel, Field, ValidationError
|
12
|
+
from pydantic.v1 import BaseModel, Field, ValidationError
|
13
13
|
from xmltodict import parse as xml_parse
|
14
14
|
|
15
15
|
from ..exceptions import OmniParsingException
|
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
2
2
|
|
3
3
|
from typing import Any, SupportsInt, TypeAlias, TypeVar, cast, overload
|
4
4
|
|
5
|
-
from pydantic import BaseModel, Field, ValidationError
|
5
|
+
from pydantic.v1 import BaseModel, Field, ValidationError
|
6
6
|
from xmltodict import parse as xml_parse
|
7
7
|
|
8
8
|
from ..exceptions import OmniParsingException
|
{python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/util.py
RENAMED
@@ -2,7 +2,7 @@ from collections.abc import Awaitable, Callable
|
|
2
2
|
import logging
|
3
3
|
from typing import Any, Literal, TypeVar, cast, overload
|
4
4
|
|
5
|
-
from pydantic.utils import GetterDict
|
5
|
+
from pydantic.v1.utils import GetterDict
|
6
6
|
|
7
7
|
from .const import XML_NS
|
8
8
|
from .filter_diagnostics import FilterDiagnostics
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "python-omnilogic-local"
|
3
|
-
version = "0.14.
|
3
|
+
version = "0.14.4"
|
4
4
|
description = "A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API"
|
5
5
|
authors = ["cryptk <cryptk@users.noreply.github.com>", "djtimca", "garionphx"]
|
6
6
|
license = "Apache-2.0"
|
@@ -20,7 +20,7 @@ omnilogic = "pyomnilogic_local.cli:main"
|
|
20
20
|
|
21
21
|
[tool.poetry.dependencies]
|
22
22
|
python = "^3.10"
|
23
|
-
pydantic = "
|
23
|
+
pydantic = ">=1.10.17"
|
24
24
|
xmltodict = "^0.13.0"
|
25
25
|
|
26
26
|
[tool.poetry.group.dev.dependencies]
|
File without changes
|
File without changes
|
{python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/exceptions.py
RENAMED
File without changes
|
{python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/__init__.py
RENAMED
File without changes
|
{python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/models/const.py
RENAMED
File without changes
|
{python_omnilogic_local-0.14.2 → python_omnilogic_local-0.14.4}/pyomnilogic_local/protocol.py
RENAMED
File without changes
|
File without changes
|
File without changes
|