pytouchlinesl 0.5.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.5.0/pytouchlinesl.egg-info → pytouchlinesl-0.6.0}/PKG-INFO +1 -1
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pyproject.toml +1 -1
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/models/models.py +5 -5
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0/pytouchlinesl.egg-info}/PKG-INFO +1 -1
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/LICENSE +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/README.md +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/__init__.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/__init__.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/base.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/client.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/models/__init__.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/module.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/touchlinesl.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/zone.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/SOURCES.txt +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/dependency_links.txt +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/requires.txt +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/top_level.txt +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/setup.cfg +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/tests/test_module.py +0 -0
- {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/tests/test_touchlinesl.py +0 -0
- {pytouchlinesl-0.5.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
|
|
|
@@ -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
|
|
File without changes
|