stackit-runcommand 1.0.2__tar.gz → 1.1.1__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 (27) hide show
  1. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/PKG-INFO +8 -4
  2. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/pyproject.toml +2 -2
  3. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/command_template_schema.py +8 -8
  4. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/model_field.py +8 -1
  5. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/LICENSE.md +0 -0
  6. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/NOTICE.txt +0 -0
  7. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/README.md +0 -0
  8. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/__init__.py +0 -0
  9. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/api/__init__.py +0 -0
  10. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/api/default_api.py +0 -0
  11. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/api_client.py +0 -0
  12. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/api_response.py +0 -0
  13. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/configuration.py +0 -0
  14. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/exceptions.py +0 -0
  15. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/__init__.py +0 -0
  16. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/command_details.py +0 -0
  17. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/command_template.py +0 -0
  18. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/command_template_response.py +0 -0
  19. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/commands.py +0 -0
  20. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/create_command_payload.py +0 -0
  21. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/error_response.py +0 -0
  22. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/get_commands_response.py +0 -0
  23. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/new_command_response.py +0 -0
  24. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/parameters_schema.py +0 -0
  25. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/models/properties.py +0 -0
  26. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/py.typed +0 -0
  27. {stackit_runcommand-1.0.2 → stackit_runcommand-1.1.1}/src/stackit/runcommand/rest.py +0 -0
@@ -1,23 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: stackit-runcommand
3
- Version: 1.0.2
3
+ Version: 1.1.1
4
4
  Summary: STACKIT Run Commands Service API
5
+ License-File: LICENSE.md
6
+ License-File: NOTICE.txt
5
7
  Author: STACKIT Developer Tools
6
8
  Author-email: developer-tools@stackit.cloud
7
- Requires-Python: >=3.8,<4.0
9
+ Requires-Python: >=3.9,<4.0
8
10
  Classifier: License :: OSI Approved :: Apache Software License
9
11
  Classifier: Operating System :: OS Independent
10
12
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.8
12
13
  Classifier: Programming Language :: Python :: 3.9
13
14
  Classifier: Programming Language :: Python :: 3.10
14
15
  Classifier: Programming Language :: Python :: 3.11
15
16
  Classifier: Programming Language :: Python :: 3.12
16
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
17
19
  Requires-Dist: pydantic (>=2.9.2)
18
20
  Requires-Dist: python-dateutil (>=2.9.0.post0)
19
21
  Requires-Dist: requests (>=2.32.3)
20
22
  Requires-Dist: stackit-core (>=0.0.1a)
23
+ Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
24
+ Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
21
25
  Description-Content-Type: text/markdown
22
26
 
23
27
  # stackit.runcommand
@@ -3,7 +3,7 @@ name = "stackit-runcommand"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "stackit-runcommand"
6
- version = "v1.0.2"
6
+ version = "v1.1.1"
7
7
  authors = [
8
8
  "STACKIT Developer Tools <developer-tools@stackit.cloud>",
9
9
  ]
@@ -20,7 +20,7 @@ packages = [
20
20
  ]
21
21
 
22
22
  [tool.poetry.dependencies]
23
- python = ">=3.8,<4.0"
23
+ python = ">=3.9,<4.0"
24
24
  stackit-core = ">=0.0.1a"
25
25
  requests = ">=2.32.3"
26
26
  pydantic = ">=2.9.2"
@@ -32,9 +32,9 @@ class CommandTemplateSchema(BaseModel):
32
32
  description: Optional[StrictStr] = None
33
33
  name: Optional[StrictStr] = None
34
34
  os_type: Optional[List[StrictStr]] = Field(default=None, alias="osType")
35
- parameter_schema: Optional[ParametersSchema] = Field(default=None, alias="parameterSchema")
35
+ parameters_schema: Optional[ParametersSchema] = Field(default=None, alias="parametersSchema")
36
36
  title: Optional[StrictStr] = None
37
- __properties: ClassVar[List[str]] = ["description", "name", "osType", "parameterSchema", "title"]
37
+ __properties: ClassVar[List[str]] = ["description", "name", "osType", "parametersSchema", "title"]
38
38
 
39
39
  model_config = ConfigDict(
40
40
  populate_by_name=True,
@@ -73,9 +73,9 @@ class CommandTemplateSchema(BaseModel):
73
73
  exclude=excluded_fields,
74
74
  exclude_none=True,
75
75
  )
76
- # override the default output from pydantic by calling `to_dict()` of parameter_schema
77
- if self.parameter_schema:
78
- _dict["parameterSchema"] = self.parameter_schema.to_dict()
76
+ # override the default output from pydantic by calling `to_dict()` of parameters_schema
77
+ if self.parameters_schema:
78
+ _dict["parametersSchema"] = self.parameters_schema.to_dict()
79
79
  return _dict
80
80
 
81
81
  @classmethod
@@ -92,9 +92,9 @@ class CommandTemplateSchema(BaseModel):
92
92
  "description": obj.get("description"),
93
93
  "name": obj.get("name"),
94
94
  "osType": obj.get("osType"),
95
- "parameterSchema": (
96
- ParametersSchema.from_dict(obj["parameterSchema"])
97
- if obj.get("parameterSchema") is not None
95
+ "parametersSchema": (
96
+ ParametersSchema.from_dict(obj["parametersSchema"])
97
+ if obj.get("parametersSchema") is not None
98
98
  else None
99
99
  ),
100
100
  "title": obj.get("title"),
@@ -18,7 +18,14 @@ import json
18
18
  import pprint
19
19
  from typing import Any, ClassVar, Dict, List, Optional, Set
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
21
+ from pydantic import (
22
+ BaseModel,
23
+ ConfigDict,
24
+ Field,
25
+ StrictBool,
26
+ StrictInt,
27
+ StrictStr,
28
+ )
22
29
  from typing_extensions import Self
23
30
 
24
31