python-omnilogic-local 0.14.2__py3-none-any.whl → 0.14.4__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pyomnilogic_local/models/filter_diagnostics.py +2 -2
- pyomnilogic_local/models/leadmessage.py +1 -1
- pyomnilogic_local/models/mspconfig.py +1 -1
- pyomnilogic_local/models/telemetry.py +1 -1
- pyomnilogic_local/models/util.py +1 -1
- {python_omnilogic_local-0.14.2.dist-info → python_omnilogic_local-0.14.4.dist-info}/METADATA +4 -3
- python_omnilogic_local-0.14.4.dist-info/RECORD +19 -0
- {python_omnilogic_local-0.14.2.dist-info → python_omnilogic_local-0.14.4.dist-info}/WHEEL +1 -1
- python_omnilogic_local-0.14.2.dist-info/RECORD +0 -19
- {python_omnilogic_local-0.14.2.dist-info → python_omnilogic_local-0.14.4.dist-info}/LICENSE +0 -0
- {python_omnilogic_local-0.14.2.dist-info → python_omnilogic_local-0.14.4.dist-info}/entry_points.txt +0 -0
@@ -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
|
pyomnilogic_local/models/util.py
CHANGED
@@ -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
|
{python_omnilogic_local-0.14.2.dist-info → python_omnilogic_local-0.14.4.dist-info}/METADATA
RENAMED
@@ -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
|
@@ -0,0 +1,19 @@
|
|
1
|
+
pyomnilogic_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
pyomnilogic_local/api.py,sha256=3Xdd1ouAcSrSiLvmQnwrJl_3hgRl6KiloBXp0_JDVkE,28134
|
3
|
+
pyomnilogic_local/cli.py,sha256=RwzKydC612-ay6TGrlSg8UEQPjYIlylxjf11S062bsk,3931
|
4
|
+
pyomnilogic_local/exceptions.py,sha256=7-EYTP-_VgGrA8WWGwQPUE1NGjJEDWB-ovyvSM2iaNY,164
|
5
|
+
pyomnilogic_local/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
+
pyomnilogic_local/models/const.py,sha256=j4HSiPJW5If296yJ-AiIsBI9EdlckF4QkVFIpTLb5C4,51
|
7
|
+
pyomnilogic_local/models/filter_diagnostics.py,sha256=DnkbjOsmfa39-sbD5qO5PV_Ltn5FHSiImrPBxr7Y0cI,1535
|
8
|
+
pyomnilogic_local/models/leadmessage.py,sha256=XnzXTpLLQzhLQR1OgfAjKmW5N8BBgM7OrntUi1I2VRY,410
|
9
|
+
pyomnilogic_local/models/mspconfig.py,sha256=mXfryaHSA8ecJGazpD_4rmrA2vhWtl32_OBmoSCmxGU,10427
|
10
|
+
pyomnilogic_local/models/telemetry.py,sha256=pBebgBKLClXyLH831GzQdfxbFR7NqyMlktwZzGf1ROg,10632
|
11
|
+
pyomnilogic_local/models/util.py,sha256=MgqHmDy7OE-62vFX5Rq1tRxs6GmzamBuWoaLYGm-fPI,1479
|
12
|
+
pyomnilogic_local/protocol.py,sha256=1Z7U70mV0sUlqrp3XK1Fvj6NuChRKLz0ejzKaQLSPE8,10194
|
13
|
+
pyomnilogic_local/types.py,sha256=km_tagtJ43m4_cIynalis7oiDa1LUUR-ta5B9HQUG1Q,7264
|
14
|
+
pyomnilogic_local/util.py,sha256=agbRBKnecrYycC9iUmo1aJDjbVg9VxHyq4QY0D8-bfA,359
|
15
|
+
python_omnilogic_local-0.14.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
16
|
+
python_omnilogic_local-0.14.4.dist-info/METADATA,sha256=JxeeJko3UZKJ5tmEDArSQlQFCoIBROIsmmjsM1jha18,2984
|
17
|
+
python_omnilogic_local-0.14.4.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
18
|
+
python_omnilogic_local-0.14.4.dist-info/entry_points.txt,sha256=PUvdumqSijeB0dHH_s5oE2TnWtPWdJSNpSOsn8yTtOo,56
|
19
|
+
python_omnilogic_local-0.14.4.dist-info/RECORD,,
|
@@ -1,19 +0,0 @@
|
|
1
|
-
pyomnilogic_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
pyomnilogic_local/api.py,sha256=3Xdd1ouAcSrSiLvmQnwrJl_3hgRl6KiloBXp0_JDVkE,28134
|
3
|
-
pyomnilogic_local/cli.py,sha256=RwzKydC612-ay6TGrlSg8UEQPjYIlylxjf11S062bsk,3931
|
4
|
-
pyomnilogic_local/exceptions.py,sha256=7-EYTP-_VgGrA8WWGwQPUE1NGjJEDWB-ovyvSM2iaNY,164
|
5
|
-
pyomnilogic_local/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
pyomnilogic_local/models/const.py,sha256=j4HSiPJW5If296yJ-AiIsBI9EdlckF4QkVFIpTLb5C4,51
|
7
|
-
pyomnilogic_local/models/filter_diagnostics.py,sha256=ELj-M4NCFhxWg-4ghpAPidlE5u-jNY4nBplyLv5qozU,1567
|
8
|
-
pyomnilogic_local/models/leadmessage.py,sha256=9r6PbIHHzD0tyeKiFUve3WLcjS8uL2Gj6r_96X7l5H8,407
|
9
|
-
pyomnilogic_local/models/mspconfig.py,sha256=GgkLvpKVlcZdeWFjd56AK_6DQXIO31Z1yHDGx2pLEj8,10424
|
10
|
-
pyomnilogic_local/models/telemetry.py,sha256=86WPCmemNLwXAg-dHp1EvgpJzqQIHfwkNtO1eGF4eZk,10629
|
11
|
-
pyomnilogic_local/models/util.py,sha256=3Qch98NOl5eO-KIOUBnE9ar86MlzbZ0g2LRApMgj-co,1476
|
12
|
-
pyomnilogic_local/protocol.py,sha256=1Z7U70mV0sUlqrp3XK1Fvj6NuChRKLz0ejzKaQLSPE8,10194
|
13
|
-
pyomnilogic_local/types.py,sha256=km_tagtJ43m4_cIynalis7oiDa1LUUR-ta5B9HQUG1Q,7264
|
14
|
-
pyomnilogic_local/util.py,sha256=agbRBKnecrYycC9iUmo1aJDjbVg9VxHyq4QY0D8-bfA,359
|
15
|
-
python_omnilogic_local-0.14.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
16
|
-
python_omnilogic_local-0.14.2.dist-info/METADATA,sha256=OZwrsm0Et9d3RuLqcz_xGNaT_A1aPO_95TB779QEhwU,2939
|
17
|
-
python_omnilogic_local-0.14.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
18
|
-
python_omnilogic_local-0.14.2.dist-info/entry_points.txt,sha256=PUvdumqSijeB0dHH_s5oE2TnWtPWdJSNpSOsn8yTtOo,56
|
19
|
-
python_omnilogic_local-0.14.2.dist-info/RECORD,,
|
File without changes
|
{python_omnilogic_local-0.14.2.dist-info → python_omnilogic_local-0.14.4.dist-info}/entry_points.txt
RENAMED
File without changes
|