pytouchlinesl 0.4.0__tar.gz → 0.6.0__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.
- {pytouchlinesl-0.4.0/pytouchlinesl.egg-info → pytouchlinesl-0.6.0}/PKG-INFO +1 -1
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pyproject.toml +1 -1
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/client.py +1 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/models/models.py +6 -6
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0/pytouchlinesl.egg-info}/PKG-INFO +1 -1
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/LICENSE +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/README.md +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/__init__.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/__init__.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/base.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/models/__init__.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/module.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/touchlinesl.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl/zone.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/SOURCES.txt +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/dependency_links.txt +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/requires.txt +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/top_level.txt +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/setup.cfg +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/tests/test_module.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/tests/test_touchlinesl.py +0 -0
- {pytouchlinesl-0.4.0 → pytouchlinesl-0.6.0}/tests/test_zone.py +0 -0
|
@@ -4,7 +4,7 @@ These are mostly auto-generated using responses received from the API, with some
|
|
|
4
4
|
tweaks to types and names.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from typing import Any, Dict, List, Literal, Optional
|
|
7
|
+
from typing import Any, Dict, List, Literal, Optional, Union
|
|
8
8
|
|
|
9
9
|
from pydantic import BaseModel, Field
|
|
10
10
|
|
|
@@ -126,7 +126,7 @@ class ZonesModel(BaseModel):
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
class ParamsModel(BaseModel):
|
|
129
|
-
description: Optional[str]
|
|
129
|
+
description: Optional[str] = None
|
|
130
130
|
working_status: Optional[bool] = Field(None, alias="workingStatus")
|
|
131
131
|
txt_id: Optional[int] = Field(None, alias="txtId")
|
|
132
132
|
icon_id: Optional[int] = Field(None, alias="iconId")
|
|
@@ -139,11 +139,11 @@ class ParamsModel(BaseModel):
|
|
|
139
139
|
class TileModel(BaseModel):
|
|
140
140
|
id: int
|
|
141
141
|
parent_id: int = Field(..., alias="parentId")
|
|
142
|
-
type: int
|
|
143
|
-
menu_id: int = Field(
|
|
144
|
-
order_id: Any = Field(
|
|
142
|
+
type: Union[int, str]
|
|
143
|
+
menu_id: Optional[int] = Field(None, alias="menuId")
|
|
144
|
+
order_id: Optional[Any] = Field(None, alias="orderId")
|
|
145
145
|
visibility: bool
|
|
146
|
-
params: ParamsModel
|
|
146
|
+
params: Optional[ParamsModel] = None
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
class ModuleModel(BaseModel):
|
|
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
|