Skip to content

Commit f37c4ab

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@0d4f0b4)
Co-authored-by: Leopold-Cramer <Leopold-Cramer@users.noreply.github.com>
1 parent 90df66e commit f37c4ab

6 files changed

Lines changed: 7 additions & 21 deletions

cosmotech_api/models/runner_create_request.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,8 @@ def to_dict(self) -> Dict[str, Any]:
9393
* `None` is only added to the output dict for nullable fields that
9494
were set at model initialization. Other fields with value `None`
9595
are ignored.
96-
* OpenAPI `readOnly` fields are excluded.
97-
* OpenAPI `readOnly` fields are excluded.
98-
* OpenAPI `readOnly` fields are excluded.
99-
* OpenAPI `readOnly` fields are excluded.
10096
"""
10197
excluded_fields: Set[str] = set([
102-
"solution_id",
103-
"owner_name",
104-
"solution_name",
105-
"run_template_name",
10698
])
10799

108100
_dict = self.model_dump(

cosmotech_api/models/runner_run_template_parameter_value.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,8 @@ def to_dict(self) -> Dict[str, Any]:
6363
* `None` is only added to the output dict for nullable fields that
6464
were set at model initialization. Other fields with value `None`
6565
are ignored.
66-
* OpenAPI `readOnly` fields are excluded.
6766
"""
6867
excluded_fields: Set[str] = set([
69-
"var_type",
7068
])
7169

7270
_dict = self.model_dump(

cosmotech_api/models/runner_update_request.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,8 @@ def to_dict(self) -> Dict[str, Any]:
7272
* `None` is only added to the output dict for nullable fields that
7373
were set at model initialization. Other fields with value `None`
7474
are ignored.
75-
* OpenAPI `readOnly` fields are excluded.
76-
* OpenAPI `readOnly` fields are excluded.
7775
"""
7876
excluded_fields: Set[str] = set([
79-
"solution_name",
80-
"run_template_name",
8177
])
8278

8379
_dict = self.model_dump(

docs/RunnerCreateRequest.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Name | Type | Description | Notes
99
**name** | **str** | the Runner name |
1010
**description** | **str** | the Runner description | [optional]
1111
**tags** | **List[str]** | the list of tags | [optional]
12-
**solution_id** | **str** | the Solution Id associated with this Runner | [readonly]
12+
**solution_id** | **str** | the Solution Id associated with this Runner |
1313
**parent_id** | **str** | the Runner parent id | [optional]
1414
**run_template_id** | **str** | the Solution Run Template Id associated with this Runner |
1515
**dataset_list** | **List[str]** | the list of Dataset Id associated to this Runner Run Template | [optional] [default to []]
1616
**run_sizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional]
1717
**parameters_values** | [**List[RunnerRunTemplateParameterValue]**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [optional] [default to []]
18-
**owner_name** | **str** | the name of the owner | [readonly]
19-
**solution_name** | **str** | the Solution name | [optional] [readonly]
20-
**run_template_name** | **str** | the Solution Run Template name associated with this Runner | [optional] [readonly]
18+
**owner_name** | **str** | the name of the owner |
19+
**solution_name** | **str** | the Solution name | [optional]
20+
**run_template_name** | **str** | the Solution Run Template name associated with this Runner | [optional]
2121
**security** | [**RunnerSecurity**](RunnerSecurity.md) | | [optional]
2222

2323
## Example

docs/RunnerRunTemplateParameterValue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ the value of a Solution Run Template parameter for a Runner
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**parameter_id** | **str** | the parameter Id |
10-
**var_type** | **str** | the parameter value type | [optional] [readonly]
10+
**var_type** | **str** | the parameter value type | [optional]
1111
**value** | **str** | the parameter value |
1212
**is_inherited** | **bool** | whether or not the value is inherited from parent or has been changed | [optional]
1313

docs/RunnerUpdateRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
1414
**run_sizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional]
1515
**parameters_values** | [**List[RunnerRunTemplateParameterValue]**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [optional]
1616
**owner_name** | **str** | the name of the owner | [optional]
17-
**solution_name** | **str** | the Solution name | [optional] [readonly]
18-
**run_template_name** | **str** | the Solution Run Template name associated with this Runner | [optional] [readonly]
17+
**solution_name** | **str** | the Solution name | [optional]
18+
**run_template_name** | **str** | the Solution Run Template name associated with this Runner | [optional]
1919

2020
## Example
2121

0 commit comments

Comments
 (0)