terra-scientific-pipelines-service-api-client 1.3.9__py3-none-any.whl → 1.4.0__py3-none-any.whl
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.
Potentially problematic release.
This version of terra-scientific-pipelines-service-api-client might be problematic. Click here for more details.
- teaspoons_client/__init__.py +1 -1
- teaspoons_client/api_client.py +1 -1
- teaspoons_client/configuration.py +1 -1
- teaspoons_client/models/pipeline_output_definition.py +7 -3
- teaspoons_client/models/pipeline_user_provided_input_definition.py +17 -7
- {terra_scientific_pipelines_service_api_client-1.3.9.dist-info → terra_scientific_pipelines_service_api_client-1.4.0.dist-info}/METADATA +1 -1
- {terra_scientific_pipelines_service_api_client-1.3.9.dist-info → terra_scientific_pipelines_service_api_client-1.4.0.dist-info}/RECORD +9 -9
- {terra_scientific_pipelines_service_api_client-1.3.9.dist-info → terra_scientific_pipelines_service_api_client-1.4.0.dist-info}/WHEEL +0 -0
- {terra_scientific_pipelines_service_api_client-1.3.9.dist-info → terra_scientific_pipelines_service_api_client-1.4.0.dist-info}/top_level.txt +0 -0
teaspoons_client/__init__.py
CHANGED
teaspoons_client/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'terra-scientific-pipelines-service-api-client/1.
|
|
93
|
+
self.user_agent = 'terra-scientific-pipelines-service-api-client/1.4.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -399,7 +399,7 @@ class Configuration:
|
|
|
399
399
|
"OS: {env}\n"\
|
|
400
400
|
"Python Version: {pyversion}\n"\
|
|
401
401
|
"Version of the API: 1.0.0\n"\
|
|
402
|
-
"SDK Package Version: 1.
|
|
402
|
+
"SDK Package Version: 1.4.0".\
|
|
403
403
|
format(env=sys.platform, pyversion=sys.version)
|
|
404
404
|
|
|
405
405
|
def get_host_settings(self):
|
|
@@ -26,9 +26,11 @@ class PipelineOutputDefinition(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
An output field and its specifications for the Pipeline.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
name:
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
name: StrictStr = Field(description="The name of the pipeline output field. ")
|
|
30
|
+
display_name: StrictStr = Field(description="The display name of the pipeline output field. ", alias="displayName")
|
|
31
|
+
description: Optional[StrictStr] = Field(default=None, description="The description of the pipeline output field. ")
|
|
32
|
+
type: StrictStr = Field(description="The type of the pipeline output field. ")
|
|
33
|
+
__properties: ClassVar[List[str]] = ["name", "displayName", "description", "type"]
|
|
32
34
|
|
|
33
35
|
model_config = ConfigDict(
|
|
34
36
|
populate_by_name=True,
|
|
@@ -82,6 +84,8 @@ class PipelineOutputDefinition(BaseModel):
|
|
|
82
84
|
|
|
83
85
|
_obj = cls.model_validate({
|
|
84
86
|
"name": obj.get("name"),
|
|
87
|
+
"displayName": obj.get("displayName"),
|
|
88
|
+
"description": obj.get("description"),
|
|
85
89
|
"type": obj.get("type")
|
|
86
90
|
})
|
|
87
91
|
return _obj
|
|
@@ -17,8 +17,8 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
@@ -26,11 +26,16 @@ class PipelineUserProvidedInputDefinition(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
User-provided input fields and specifications for the Pipeline.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
name:
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
name: StrictStr = Field(description="The name of the pipeline input field. ")
|
|
30
|
+
display_name: StrictStr = Field(description="The display name of the pipeline input field. ", alias="displayName")
|
|
31
|
+
description: Optional[StrictStr] = Field(default=None, description="The description of the pipeline input field. ")
|
|
32
|
+
type: StrictStr = Field(description="The type of the pipeline input field. ")
|
|
33
|
+
is_required: StrictBool = Field(description="Whether the pipeline input field is required. ", alias="isRequired")
|
|
34
|
+
default_value: Optional[StrictStr] = Field(default=None, description="The default value for the optional input field. ", alias="defaultValue")
|
|
32
35
|
file_suffix: Optional[StrictStr] = Field(default=None, description="The allowed file suffix for the file. ", alias="fileSuffix")
|
|
33
|
-
|
|
36
|
+
min_value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The minimum value for the integer or float input field. ", alias="minValue")
|
|
37
|
+
max_value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The maximum value for the integer or float input field. ", alias="maxValue")
|
|
38
|
+
__properties: ClassVar[List[str]] = ["name", "displayName", "description", "type", "isRequired", "defaultValue", "fileSuffix", "minValue", "maxValue"]
|
|
34
39
|
|
|
35
40
|
model_config = ConfigDict(
|
|
36
41
|
populate_by_name=True,
|
|
@@ -84,9 +89,14 @@ class PipelineUserProvidedInputDefinition(BaseModel):
|
|
|
84
89
|
|
|
85
90
|
_obj = cls.model_validate({
|
|
86
91
|
"name": obj.get("name"),
|
|
92
|
+
"displayName": obj.get("displayName"),
|
|
93
|
+
"description": obj.get("description"),
|
|
87
94
|
"type": obj.get("type"),
|
|
88
95
|
"isRequired": obj.get("isRequired"),
|
|
89
|
-
"
|
|
96
|
+
"defaultValue": obj.get("defaultValue"),
|
|
97
|
+
"fileSuffix": obj.get("fileSuffix"),
|
|
98
|
+
"minValue": obj.get("minValue"),
|
|
99
|
+
"maxValue": obj.get("maxValue")
|
|
90
100
|
})
|
|
91
101
|
return _obj
|
|
92
102
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
teaspoons_client/__init__.py,sha256=
|
|
2
|
-
teaspoons_client/api_client.py,sha256=
|
|
1
|
+
teaspoons_client/__init__.py,sha256=8-TzviF5CyzRocDMkrSLDv7Oyo9y-Xi2KZg1tRfKX8A,3471
|
|
2
|
+
teaspoons_client/api_client.py,sha256=03w1zyXgjNEjhebCqbPsiVkNzragEp4G2b0y0dJ2eto,27534
|
|
3
3
|
teaspoons_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
teaspoons_client/configuration.py,sha256=
|
|
4
|
+
teaspoons_client/configuration.py,sha256=AFTYee8KcQwefFNbA7y0ZMf7a7Btd_ngTq1E0V9mUwo,15584
|
|
5
5
|
teaspoons_client/exceptions.py,sha256=54himL4zduna12UfdUqGb8LEVunPChzEvjvPw0DjWjk,5999
|
|
6
6
|
teaspoons_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
teaspoons_client/rest.py,sha256=wRFTSvE7v-UjFP1_9oozGWnt8ERYW-PReLkFJZHiWYI,9441
|
|
@@ -26,11 +26,11 @@ teaspoons_client/models/job_control.py,sha256=PkTmAKmm6JXxu7EUfa02UNdBaxoZvo0v0T
|
|
|
26
26
|
teaspoons_client/models/job_report.py,sha256=q5ijrPgVmGqXjrTZKzEyOswUlWKsMD6v-oTFDUUdMRg,3974
|
|
27
27
|
teaspoons_client/models/job_result.py,sha256=WWZRoqmTuh5ZP9ugMENGZUx5zrzADHx9O0m2Bhh--yg,3337
|
|
28
28
|
teaspoons_client/models/pipeline.py,sha256=KiEoZb6w9MMTAr1-Scr70XBNDr7eox69g9ZLa8ORRLE,3224
|
|
29
|
-
teaspoons_client/models/pipeline_output_definition.py,sha256=
|
|
29
|
+
teaspoons_client/models/pipeline_output_definition.py,sha256=9vGjS4sSqSnIJl7yQbkP1NpzD6z34uDv3X2u9Q1U-3M,3153
|
|
30
30
|
teaspoons_client/models/pipeline_quota.py,sha256=jKXNhWM5gNKMwqOxAkQ0skpKSL2Jb1Ou8xNwtAlPWS0,3183
|
|
31
31
|
teaspoons_client/models/pipeline_run.py,sha256=C5T1E90oTNeGFJcllQSsqQnhceNsPf-wdZgZ0TWADE0,4071
|
|
32
32
|
teaspoons_client/models/pipeline_run_report.py,sha256=U_iDIRq-BjhYNqWmRztcWyozuJLtVoWrdBlU_T8mbug,3843
|
|
33
|
-
teaspoons_client/models/pipeline_user_provided_input_definition.py,sha256=
|
|
33
|
+
teaspoons_client/models/pipeline_user_provided_input_definition.py,sha256=eqdY1dQhegTDoKrjLAZQs8SBwiMKe048w7TFlnGtudM,4273
|
|
34
34
|
teaspoons_client/models/pipeline_with_details.py,sha256=yObiGAV_vIp6rvMZ1pPK-ieaxDkWfI_mVsuzWn-4lAc,5309
|
|
35
35
|
teaspoons_client/models/prepare_pipeline_run_request_body.py,sha256=mW6L2AWwt-h4MRd7sMoo1GmePf19JRIFpO6ltDO_548,3897
|
|
36
36
|
teaspoons_client/models/prepare_pipeline_run_response.py,sha256=1lSm1DAgTfPlBIEXkhnciAgMBY0eC3sjlEEJOY7MtyA,2890
|
|
@@ -41,7 +41,7 @@ teaspoons_client/models/system_status_systems_value.py,sha256=lKuq0aDpRne858ta4g
|
|
|
41
41
|
teaspoons_client/models/update_pipeline_request_body.py,sha256=DJeqxOAwDQdQDApDQdGbASbDtsb2hqRSfuV1F7yrL6o,3232
|
|
42
42
|
teaspoons_client/models/update_quota_limit_request_body.py,sha256=sOCNcTbsdTJisAn9YxHMIWUvm_UrxV1HZ5EziIUOgIk,2731
|
|
43
43
|
teaspoons_client/models/version_properties.py,sha256=pnx1pduz4vnw-wx_sdASU_-zRqE1wf3JdNm4OLDJ2i8,2888
|
|
44
|
-
terra_scientific_pipelines_service_api_client-1.
|
|
45
|
-
terra_scientific_pipelines_service_api_client-1.
|
|
46
|
-
terra_scientific_pipelines_service_api_client-1.
|
|
47
|
-
terra_scientific_pipelines_service_api_client-1.
|
|
44
|
+
terra_scientific_pipelines_service_api_client-1.4.0.dist-info/METADATA,sha256=R-Mn_dXYPOjKTWVdWlcBjKK4ys40G47tsabtSsAE2JA,739
|
|
45
|
+
terra_scientific_pipelines_service_api_client-1.4.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
46
|
+
terra_scientific_pipelines_service_api_client-1.4.0.dist-info/top_level.txt,sha256=DZYs7jBZ-_bWvnXrtK1TbtfhltgkuPWTRo1Ei7Uv9Jc,17
|
|
47
|
+
terra_scientific_pipelines_service_api_client-1.4.0.dist-info/RECORD,,
|
|
File without changes
|