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.
Files changed (22) hide show
  1. {pytouchlinesl-0.5.0/pytouchlinesl.egg-info → pytouchlinesl-0.6.0}/PKG-INFO +1 -1
  2. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pyproject.toml +1 -1
  3. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/models/models.py +5 -5
  4. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0/pytouchlinesl.egg-info}/PKG-INFO +1 -1
  5. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/LICENSE +0 -0
  6. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/README.md +0 -0
  7. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/__init__.py +0 -0
  8. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/__init__.py +0 -0
  9. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/base.py +0 -0
  10. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/client.py +0 -0
  11. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/client/models/__init__.py +0 -0
  12. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/module.py +0 -0
  13. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/touchlinesl.py +0 -0
  14. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl/zone.py +0 -0
  15. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/SOURCES.txt +0 -0
  16. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/dependency_links.txt +0 -0
  17. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/requires.txt +0 -0
  18. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/pytouchlinesl.egg-info/top_level.txt +0 -0
  19. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/setup.cfg +0 -0
  20. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/tests/test_module.py +0 -0
  21. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/tests/test_touchlinesl.py +0 -0
  22. {pytouchlinesl-0.5.0 → pytouchlinesl-0.6.0}/tests/test_zone.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytouchlinesl
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: An API client for Roth's TouchlineSL control system.
5
5
  Author-email: Jon Seager <jon@sgrs.uk>
6
6
  Project-URL: Homepage, https://github.com/jnsgruk/pytouchlinesl
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytouchlinesl"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  authors = [{ name = "Jon Seager", email = "jon@sgrs.uk" }]
5
5
  description = "An API client for Roth's TouchlineSL control system."
6
6
  readme = "README.md"
@@ -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(..., alias="menuId")
144
- order_id: Any = Field(..., alias="orderId")
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytouchlinesl
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: An API client for Roth's TouchlineSL control system.
5
5
  Author-email: Jon Seager <jon@sgrs.uk>
6
6
  Project-URL: Homepage, https://github.com/jnsgruk/pytouchlinesl
File without changes
File without changes
File without changes