terra-scientific-pipelines-service-api-client 1.2.1__tar.gz → 1.3.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.

Potentially problematic release.


This version of terra-scientific-pipelines-service-api-client might be problematic. Click here for more details.

Files changed (87) hide show
  1. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/PKG-INFO +1 -1
  2. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/README.md +2 -1
  3. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/pyproject.toml +1 -1
  4. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/setup.py +1 -1
  5. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/__init__.py +2 -1
  6. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api_client.py +1 -1
  7. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/configuration.py +1 -1
  8. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/__init__.py +1 -0
  9. terra_scientific_pipelines_service_api_client-1.3.0/teaspoons_client/models/pipeline_output_definition.py +89 -0
  10. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/pipeline_with_details.py +11 -1
  11. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/terra_scientific_pipelines_service_api_client.egg-info/PKG-INFO +1 -1
  12. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/terra_scientific_pipelines_service_api_client.egg-info/SOURCES.txt +2 -0
  13. terra_scientific_pipelines_service_api_client-1.3.0/test/test_pipeline_output_definition.py +52 -0
  14. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline_with_details.py +10 -0
  15. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/setup.cfg +0 -0
  16. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/__init__.py +0 -0
  17. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/admin_api.py +0 -0
  18. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/jobs_api.py +0 -0
  19. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/pipeline_runs_api.py +0 -0
  20. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/pipelines_api.py +0 -0
  21. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/public_api.py +0 -0
  22. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api/quotas_api.py +0 -0
  23. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/api_response.py +0 -0
  24. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/exceptions.py +0 -0
  25. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/admin_pipeline.py +0 -0
  26. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/admin_quota.py +0 -0
  27. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/async_pipeline_run_response.py +0 -0
  28. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/error_report.py +0 -0
  29. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/get_jobs_response.py +0 -0
  30. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/get_pipeline_details_request_body.py +0 -0
  31. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/get_pipeline_runs_response.py +0 -0
  32. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/get_pipeline_runs_response_v2.py +0 -0
  33. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/get_pipelines_result.py +0 -0
  34. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/job_control.py +0 -0
  35. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/job_report.py +0 -0
  36. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/job_result.py +0 -0
  37. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/pipeline.py +0 -0
  38. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/pipeline_quota.py +0 -0
  39. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/pipeline_run.py +0 -0
  40. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/pipeline_run_report.py +0 -0
  41. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/pipeline_user_provided_input_definition.py +0 -0
  42. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/prepare_pipeline_run_request_body.py +0 -0
  43. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/prepare_pipeline_run_response.py +0 -0
  44. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/quota_with_details.py +0 -0
  45. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/start_pipeline_run_request_body.py +0 -0
  46. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/system_status.py +0 -0
  47. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/system_status_systems_value.py +0 -0
  48. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/update_pipeline_request_body.py +0 -0
  49. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/update_quota_limit_request_body.py +0 -0
  50. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/models/version_properties.py +0 -0
  51. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/py.typed +0 -0
  52. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/teaspoons_client/rest.py +0 -0
  53. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/terra_scientific_pipelines_service_api_client.egg-info/dependency_links.txt +0 -0
  54. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/terra_scientific_pipelines_service_api_client.egg-info/requires.txt +0 -0
  55. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/terra_scientific_pipelines_service_api_client.egg-info/top_level.txt +0 -0
  56. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_admin_api.py +0 -0
  57. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_admin_pipeline.py +0 -0
  58. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_admin_quota.py +0 -0
  59. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_async_pipeline_run_response.py +0 -0
  60. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_error_report.py +0 -0
  61. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_get_jobs_response.py +0 -0
  62. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_get_pipeline_details_request_body.py +0 -0
  63. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_get_pipeline_runs_response.py +0 -0
  64. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_get_pipeline_runs_response_v2.py +0 -0
  65. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_get_pipelines_result.py +0 -0
  66. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_job_control.py +0 -0
  67. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_job_report.py +0 -0
  68. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_job_result.py +0 -0
  69. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_jobs_api.py +0 -0
  70. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline.py +0 -0
  71. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline_quota.py +0 -0
  72. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline_run.py +0 -0
  73. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline_run_report.py +0 -0
  74. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline_runs_api.py +0 -0
  75. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipeline_user_provided_input_definition.py +0 -0
  76. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_pipelines_api.py +0 -0
  77. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_prepare_pipeline_run_request_body.py +0 -0
  78. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_prepare_pipeline_run_response.py +0 -0
  79. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_public_api.py +0 -0
  80. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_quota_with_details.py +0 -0
  81. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_quotas_api.py +0 -0
  82. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_start_pipeline_run_request_body.py +0 -0
  83. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_system_status.py +0 -0
  84. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_system_status_systems_value.py +0 -0
  85. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_update_pipeline_request_body.py +0 -0
  86. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_update_quota_limit_request_body.py +0 -0
  87. {terra_scientific_pipelines_service_api_client-1.2.1 → terra_scientific_pipelines_service_api_client-1.3.0}/test/test_version_properties.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: terra-scientific-pipelines-service-api-client
3
- Version: 1.2.1
3
+ Version: 1.3.0
4
4
  Summary: Terra Scientific Pipelines Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
4
4
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: 1.0.0
7
- - Package version: 1.2.1
7
+ - Package version: 1.3.0
8
8
  - Generator version: 7.9.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
 
@@ -130,6 +130,7 @@ Class | Method | HTTP request | Description
130
130
  - [JobReport](docs/JobReport.md)
131
131
  - [JobResult](docs/JobResult.md)
132
132
  - [Pipeline](docs/Pipeline.md)
133
+ - [PipelineOutputDefinition](docs/PipelineOutputDefinition.md)
133
134
  - [PipelineQuota](docs/PipelineQuota.md)
134
135
  - [PipelineRun](docs/PipelineRun.md)
135
136
  - [PipelineRunReport](docs/PipelineRunReport.md)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "teaspoons_client"
3
- version = "1.2.1"
3
+ version = "1.3.0"
4
4
  description = "Terra Scientific Pipelines Service"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "NoLicense"
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages # noqa: H301
21
21
  # prerequisite: setuptools
22
22
  # http://pypi.python.org/pypi/setuptools
23
23
  NAME = "terra-scientific-pipelines-service-api-client"
24
- VERSION = "1.2.1"
24
+ VERSION = "1.3.0"
25
25
  PYTHON_REQUIRES = ">= 3.8"
26
26
  REQUIRES = [
27
27
  "urllib3 >= 1.25.3, < 3.0.0",
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "1.2.1"
17
+ __version__ = "1.3.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from teaspoons_client.api.admin_api import AdminApi
@@ -49,6 +49,7 @@ from teaspoons_client.models.job_control import JobControl
49
49
  from teaspoons_client.models.job_report import JobReport
50
50
  from teaspoons_client.models.job_result import JobResult
51
51
  from teaspoons_client.models.pipeline import Pipeline
52
+ from teaspoons_client.models.pipeline_output_definition import PipelineOutputDefinition
52
53
  from teaspoons_client.models.pipeline_quota import PipelineQuota
53
54
  from teaspoons_client.models.pipeline_run import PipelineRun
54
55
  from teaspoons_client.models.pipeline_run_report import PipelineRunReport
@@ -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.2.1/python'
93
+ self.user_agent = 'terra-scientific-pipelines-service-api-client/1.3.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.2.1".\
402
+ "SDK Package Version: 1.3.0".\
403
403
  format(env=sys.platform, pyversion=sys.version)
404
404
 
405
405
  def get_host_settings(self):
@@ -27,6 +27,7 @@ from teaspoons_client.models.job_control import JobControl
27
27
  from teaspoons_client.models.job_report import JobReport
28
28
  from teaspoons_client.models.job_result import JobResult
29
29
  from teaspoons_client.models.pipeline import Pipeline
30
+ from teaspoons_client.models.pipeline_output_definition import PipelineOutputDefinition
30
31
  from teaspoons_client.models.pipeline_quota import PipelineQuota
31
32
  from teaspoons_client.models.pipeline_run import PipelineRun
32
33
  from teaspoons_client.models.pipeline_run_report import PipelineRunReport
@@ -0,0 +1,89 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Terra Scientific Pipelines Service
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+ import pprint
17
+ import re # noqa: F401
18
+ import json
19
+
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class PipelineOutputDefinition(BaseModel):
26
+ """
27
+ An output field and its specifications for the Pipeline.
28
+ """ # noqa: E501
29
+ name: Optional[StrictStr] = Field(default=None, description="The name of the output field. ")
30
+ type: Optional[StrictStr] = Field(default=None, description="The type of the output field. ")
31
+ __properties: ClassVar[List[str]] = ["name", "type"]
32
+
33
+ model_config = ConfigDict(
34
+ populate_by_name=True,
35
+ validate_assignment=True,
36
+ protected_namespaces=(),
37
+ )
38
+
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of PipelineOutputDefinition from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ """
64
+ excluded_fields: Set[str] = set([
65
+ ])
66
+
67
+ _dict = self.model_dump(
68
+ by_alias=True,
69
+ exclude=excluded_fields,
70
+ exclude_none=True,
71
+ )
72
+ return _dict
73
+
74
+ @classmethod
75
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
76
+ """Create an instance of PipelineOutputDefinition from a dict"""
77
+ if obj is None:
78
+ return None
79
+
80
+ if not isinstance(obj, dict):
81
+ return cls.model_validate(obj)
82
+
83
+ _obj = cls.model_validate({
84
+ "name": obj.get("name"),
85
+ "type": obj.get("type")
86
+ })
87
+ return _obj
88
+
89
+
@@ -19,6 +19,7 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List
22
+ from teaspoons_client.models.pipeline_output_definition import PipelineOutputDefinition
22
23
  from teaspoons_client.models.pipeline_quota import PipelineQuota
23
24
  from teaspoons_client.models.pipeline_user_provided_input_definition import PipelineUserProvidedInputDefinition
24
25
  from typing import Optional, Set
@@ -34,8 +35,9 @@ class PipelineWithDetails(BaseModel):
34
35
  description: StrictStr = Field(description="The description for the Pipeline. ")
35
36
  type: StrictStr = Field(description="The general type of the Pipeline. ")
36
37
  inputs: List[PipelineUserProvidedInputDefinition] = Field(description="A list of user-provided input fields and specifications for the Pipeline. ")
38
+ outputs: List[PipelineOutputDefinition] = Field(description="A list of output fields and specifications for the Pipeline. ")
37
39
  pipeline_quota: PipelineQuota = Field(alias="pipelineQuota")
38
- __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "pipelineVersion", "description", "type", "inputs", "pipelineQuota"]
40
+ __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "pipelineVersion", "description", "type", "inputs", "outputs", "pipelineQuota"]
39
41
 
40
42
  model_config = ConfigDict(
41
43
  populate_by_name=True,
@@ -83,6 +85,13 @@ class PipelineWithDetails(BaseModel):
83
85
  if _item_inputs:
84
86
  _items.append(_item_inputs.to_dict())
85
87
  _dict['inputs'] = _items
88
+ # override the default output from pydantic by calling `to_dict()` of each item in outputs (list)
89
+ _items = []
90
+ if self.outputs:
91
+ for _item_outputs in self.outputs:
92
+ if _item_outputs:
93
+ _items.append(_item_outputs.to_dict())
94
+ _dict['outputs'] = _items
86
95
  # override the default output from pydantic by calling `to_dict()` of pipeline_quota
87
96
  if self.pipeline_quota:
88
97
  _dict['pipelineQuota'] = self.pipeline_quota.to_dict()
@@ -104,6 +113,7 @@ class PipelineWithDetails(BaseModel):
104
113
  "description": obj.get("description"),
105
114
  "type": obj.get("type"),
106
115
  "inputs": [PipelineUserProvidedInputDefinition.from_dict(_item) for _item in obj["inputs"]] if obj.get("inputs") is not None else None,
116
+ "outputs": [PipelineOutputDefinition.from_dict(_item) for _item in obj["outputs"]] if obj.get("outputs") is not None else None,
107
117
  "pipelineQuota": PipelineQuota.from_dict(obj["pipelineQuota"]) if obj.get("pipelineQuota") is not None else None
108
118
  })
109
119
  return _obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: terra-scientific-pipelines-service-api-client
3
- Version: 1.2.1
3
+ Version: 1.3.0
4
4
  Summary: Terra Scientific Pipelines Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -30,6 +30,7 @@ teaspoons_client/models/job_control.py
30
30
  teaspoons_client/models/job_report.py
31
31
  teaspoons_client/models/job_result.py
32
32
  teaspoons_client/models/pipeline.py
33
+ teaspoons_client/models/pipeline_output_definition.py
33
34
  teaspoons_client/models/pipeline_quota.py
34
35
  teaspoons_client/models/pipeline_run.py
35
36
  teaspoons_client/models/pipeline_run_report.py
@@ -64,6 +65,7 @@ test/test_job_report.py
64
65
  test/test_job_result.py
65
66
  test/test_jobs_api.py
66
67
  test/test_pipeline.py
68
+ test/test_pipeline_output_definition.py
67
69
  test/test_pipeline_quota.py
68
70
  test/test_pipeline_run.py
69
71
  test/test_pipeline_run_report.py
@@ -0,0 +1,52 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Terra Scientific Pipelines Service
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from teaspoons_client.models.pipeline_output_definition import PipelineOutputDefinition
18
+
19
+ class TestPipelineOutputDefinition(unittest.TestCase):
20
+ """PipelineOutputDefinition unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> PipelineOutputDefinition:
29
+ """Test PipelineOutputDefinition
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `PipelineOutputDefinition`
34
+ """
35
+ model = PipelineOutputDefinition()
36
+ if include_optional:
37
+ return PipelineOutputDefinition(
38
+ name = '',
39
+ type = ''
40
+ )
41
+ else:
42
+ return PipelineOutputDefinition(
43
+ )
44
+ """
45
+
46
+ def testPipelineOutputDefinition(self):
47
+ """Test PipelineOutputDefinition"""
48
+ # inst_req_only = self.make_instance(include_optional=False)
49
+ # inst_req_and_optional = self.make_instance(include_optional=True)
50
+
51
+ if __name__ == '__main__':
52
+ unittest.main()
@@ -47,6 +47,11 @@ class TestPipelineWithDetails(unittest.TestCase):
47
47
  is_required = True,
48
48
  file_suffix = '', )
49
49
  ],
50
+ outputs = [
51
+ teaspoons_client.models.pipeline_output_definition.PipelineOutputDefinition(
52
+ name = '',
53
+ type = '', )
54
+ ],
50
55
  pipeline_quota = teaspoons_client.models.pipeline_quota.PipelineQuota(
51
56
  pipeline_name = '',
52
57
  default_quota = 56,
@@ -67,6 +72,11 @@ class TestPipelineWithDetails(unittest.TestCase):
67
72
  is_required = True,
68
73
  file_suffix = '', )
69
74
  ],
75
+ outputs = [
76
+ teaspoons_client.models.pipeline_output_definition.PipelineOutputDefinition(
77
+ name = '',
78
+ type = '', )
79
+ ],
70
80
  pipeline_quota = teaspoons_client.models.pipeline_quota.PipelineQuota(
71
81
  pipeline_name = '',
72
82
  default_quota = 56,