terra-scientific-pipelines-service-api-client 0.1.14__tar.gz → 0.1.16__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 (81) hide show
  1. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/PKG-INFO +1 -1
  2. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/README.md +7 -5
  3. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/pyproject.toml +1 -1
  4. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/setup.py +1 -1
  5. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/__init__.py +2 -1
  6. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/admin_api.py +33 -3
  7. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/pipelines_api.py +31 -1
  8. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api_client.py +1 -1
  9. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/configuration.py +1 -1
  10. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/__init__.py +1 -0
  11. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/admin_pipeline.py +5 -3
  12. terra_scientific_pipelines_service_api_client-0.1.16/teaspoons_client/models/get_pipeline_details_request_body.py +87 -0
  13. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/pipeline.py +4 -2
  14. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/pipeline_with_details.py +4 -2
  15. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/prepare_pipeline_run_request_body.py +2 -2
  16. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/terra_scientific_pipelines_service_api_client.egg-info/PKG-INFO +1 -1
  17. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/terra_scientific_pipelines_service_api_client.egg-info/SOURCES.txt +2 -0
  18. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_admin_pipeline.py +2 -0
  19. terra_scientific_pipelines_service_api_client-0.1.16/test/test_get_pipeline_details_request_body.py +51 -0
  20. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_get_pipelines_result.py +1 -0
  21. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipeline.py +2 -0
  22. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipeline_with_details.py +2 -0
  23. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_prepare_pipeline_run_request_body.py +0 -1
  24. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/setup.cfg +0 -0
  25. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/__init__.py +0 -0
  26. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/jobs_api.py +0 -0
  27. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/pipeline_runs_api.py +0 -0
  28. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/public_api.py +0 -0
  29. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api/quotas_api.py +0 -0
  30. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/api_response.py +0 -0
  31. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/exceptions.py +0 -0
  32. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/admin_quota.py +0 -0
  33. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/async_pipeline_run_response.py +0 -0
  34. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/error_report.py +0 -0
  35. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/get_jobs_response.py +0 -0
  36. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/get_pipeline_runs_response.py +0 -0
  37. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/get_pipelines_result.py +0 -0
  38. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/job_control.py +0 -0
  39. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/job_report.py +0 -0
  40. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/job_result.py +0 -0
  41. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/pipeline_run.py +0 -0
  42. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/pipeline_run_report.py +0 -0
  43. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/pipeline_user_provided_input_definition.py +0 -0
  44. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/prepare_pipeline_run_response.py +0 -0
  45. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/quota_with_details.py +0 -0
  46. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/start_pipeline_run_request_body.py +0 -0
  47. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/system_status.py +0 -0
  48. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/system_status_systems_value.py +0 -0
  49. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/update_pipeline_request_body.py +0 -0
  50. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/update_quota_limit_request_body.py +0 -0
  51. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/models/version_properties.py +0 -0
  52. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/py.typed +0 -0
  53. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/teaspoons_client/rest.py +0 -0
  54. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/terra_scientific_pipelines_service_api_client.egg-info/dependency_links.txt +0 -0
  55. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/terra_scientific_pipelines_service_api_client.egg-info/requires.txt +0 -0
  56. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/terra_scientific_pipelines_service_api_client.egg-info/top_level.txt +0 -0
  57. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_admin_api.py +0 -0
  58. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_admin_quota.py +0 -0
  59. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_async_pipeline_run_response.py +0 -0
  60. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_error_report.py +0 -0
  61. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_get_jobs_response.py +0 -0
  62. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_get_pipeline_runs_response.py +0 -0
  63. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_job_control.py +0 -0
  64. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_job_report.py +0 -0
  65. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_job_result.py +0 -0
  66. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_jobs_api.py +0 -0
  67. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipeline_run.py +0 -0
  68. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipeline_run_report.py +0 -0
  69. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipeline_runs_api.py +0 -0
  70. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipeline_user_provided_input_definition.py +0 -0
  71. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_pipelines_api.py +0 -0
  72. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_prepare_pipeline_run_response.py +0 -0
  73. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_public_api.py +0 -0
  74. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_quota_with_details.py +0 -0
  75. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_quotas_api.py +0 -0
  76. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_start_pipeline_run_request_body.py +0 -0
  77. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_system_status.py +0 -0
  78. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_system_status_systems_value.py +0 -0
  79. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_update_pipeline_request_body.py +0 -0
  80. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_update_quota_limit_request_body.py +0 -0
  81. {terra_scientific_pipelines_service_api_client-0.1.14 → terra_scientific_pipelines_service_api_client-0.1.16}/test/test_version_properties.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: terra-scientific-pipelines-service-api-client
3
- Version: 0.1.14
3
+ Version: 0.1.16
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: 0.1.14
7
+ - Package version: 0.1.16
8
8
  - Generator version: 7.9.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
 
@@ -79,10 +79,11 @@ with teaspoons_client.ApiClient(configuration) as api_client:
79
79
  # Create an instance of the API class
80
80
  api_instance = teaspoons_client.AdminApi(api_client)
81
81
  pipeline_name = 'pipeline_name_example' # str | A string identifier to used to identify a pipeline in the service.
82
+ pipeline_version = 56 # int | The integer version of the pipeline.
82
83
 
83
84
  try:
84
85
  # Get description for a given pipeline.
85
- api_response = api_instance.get_pipeline(pipeline_name)
86
+ api_response = api_instance.get_pipeline(pipeline_name, pipeline_version)
86
87
  print("The response of AdminApi->get_pipeline:\n")
87
88
  pprint(api_response)
88
89
  except ApiException as e:
@@ -96,9 +97,9 @@ All URIs are relative to *http://localhost*
96
97
 
97
98
  Class | Method | HTTP request | Description
98
99
  ------------ | ------------- | ------------- | -------------
99
- *AdminApi* | [**get_pipeline**](docs/AdminApi.md#get_pipeline) | **GET** /api/admin/v1/pipelines/{pipelineName} | Get description for a given pipeline.
100
+ *AdminApi* | [**get_pipeline**](docs/AdminApi.md#get_pipeline) | **GET** /api/admin/v1/pipelines/{pipelineName}/{pipelineVersion} | Get description for a given pipeline.
100
101
  *AdminApi* | [**get_quota_for_pipeline_and_user**](docs/AdminApi.md#get_quota_for_pipeline_and_user) | **GET** /api/admin/v1/quotas/{pipelineName}/{userId} | Get quota for a given pipeline and user.
101
- *AdminApi* | [**update_pipeline**](docs/AdminApi.md#update_pipeline) | **PATCH** /api/admin/v1/pipelines/{pipelineName} | Update attributes for a given pipeline.
102
+ *AdminApi* | [**update_pipeline**](docs/AdminApi.md#update_pipeline) | **PATCH** /api/admin/v1/pipelines/{pipelineName}/{pipelineVersion} | Update attributes for a given pipeline.
102
103
  *AdminApi* | [**update_quota_limit_for_pipeline_and_user**](docs/AdminApi.md#update_quota_limit_for_pipeline_and_user) | **PATCH** /api/admin/v1/quotas/{pipelineName}/{userId} | Update quota limit for a given pipeline and user.
103
104
  *JobsApi* | [**get_all_jobs**](docs/JobsApi.md#get_all_jobs) | **GET** /api/job/v1/jobs | Return a list of all jobs the caller has access to
104
105
  *JobsApi* | [**get_job**](docs/JobsApi.md#get_job) | **GET** /api/job/v1/jobs/{jobId} | Retrieve a specified job
@@ -106,7 +107,7 @@ Class | Method | HTTP request | Description
106
107
  *PipelineRunsApi* | [**get_pipeline_run_result**](docs/PipelineRunsApi.md#get_pipeline_run_result) | **GET** /api/pipelineruns/v1/result/{jobId} | Retrieve result for a specified pipeline run
107
108
  *PipelineRunsApi* | [**prepare_pipeline_run**](docs/PipelineRunsApi.md#prepare_pipeline_run) | **POST** /api/pipelineruns/v1/prepare | Prepare a new pipeline run
108
109
  *PipelineRunsApi* | [**start_pipeline_run**](docs/PipelineRunsApi.md#start_pipeline_run) | **POST** /api/pipelineruns/v1/start | Start a prepared pipeline run
109
- *PipelinesApi* | [**get_pipeline_details**](docs/PipelinesApi.md#get_pipeline_details) | **GET** /api/pipelines/v1/{pipelineName} | Return info about the specified pipeline
110
+ *PipelinesApi* | [**get_pipeline_details**](docs/PipelinesApi.md#get_pipeline_details) | **POST** /api/pipelines/v1/{pipelineName} | Return info about the specified pipeline
110
111
  *PipelinesApi* | [**get_pipelines**](docs/PipelinesApi.md#get_pipelines) | **GET** /api/pipelines/v1 | Return all available Pipelines
111
112
  *PublicApi* | [**get_status**](docs/PublicApi.md#get_status) | **GET** /status | Check status of the service.
112
113
  *PublicApi* | [**get_version**](docs/PublicApi.md#get_version) | **GET** /version | Get version info of the deployed service.
@@ -120,6 +121,7 @@ Class | Method | HTTP request | Description
120
121
  - [AsyncPipelineRunResponse](docs/AsyncPipelineRunResponse.md)
121
122
  - [ErrorReport](docs/ErrorReport.md)
122
123
  - [GetJobsResponse](docs/GetJobsResponse.md)
124
+ - [GetPipelineDetailsRequestBody](docs/GetPipelineDetailsRequestBody.md)
123
125
  - [GetPipelineRunsResponse](docs/GetPipelineRunsResponse.md)
124
126
  - [GetPipelinesResult](docs/GetPipelinesResult.md)
125
127
  - [JobControl](docs/JobControl.md)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "teaspoons_client"
3
- version = "0.1.14"
3
+ version = "0.1.16"
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 = "0.1.14"
24
+ VERSION = "0.1.16"
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__ = "0.1.14"
17
+ __version__ = "0.1.16"
18
18
 
19
19
  # import apis into sdk package
20
20
  from teaspoons_client.api.admin_api import AdminApi
@@ -41,6 +41,7 @@ from teaspoons_client.models.admin_quota import AdminQuota
41
41
  from teaspoons_client.models.async_pipeline_run_response import AsyncPipelineRunResponse
42
42
  from teaspoons_client.models.error_report import ErrorReport
43
43
  from teaspoons_client.models.get_jobs_response import GetJobsResponse
44
+ from teaspoons_client.models.get_pipeline_details_request_body import GetPipelineDetailsRequestBody
44
45
  from teaspoons_client.models.get_pipeline_runs_response import GetPipelineRunsResponse
45
46
  from teaspoons_client.models.get_pipelines_result import GetPipelinesResult
46
47
  from teaspoons_client.models.job_control import JobControl
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, StrictStr
19
+ from pydantic import Field, StrictInt, StrictStr
20
20
  from typing_extensions import Annotated
21
21
  from teaspoons_client.models.admin_pipeline import AdminPipeline
22
22
  from teaspoons_client.models.admin_quota import AdminQuota
@@ -45,6 +45,7 @@ class AdminApi:
45
45
  def get_pipeline(
46
46
  self,
47
47
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
48
+ pipeline_version: Annotated[StrictInt, Field(description="The integer version of the pipeline.")],
48
49
  _request_timeout: Union[
49
50
  None,
50
51
  Annotated[StrictFloat, Field(gt=0)],
@@ -63,6 +64,8 @@ class AdminApi:
63
64
 
64
65
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
65
66
  :type pipeline_name: str
67
+ :param pipeline_version: The integer version of the pipeline. (required)
68
+ :type pipeline_version: int
66
69
  :param _request_timeout: timeout setting for this request. If one
67
70
  number provided, it will be total request
68
71
  timeout. It can also be a pair (tuple) of
@@ -87,6 +90,7 @@ class AdminApi:
87
90
 
88
91
  _param = self._get_pipeline_serialize(
89
92
  pipeline_name=pipeline_name,
93
+ pipeline_version=pipeline_version,
90
94
  _request_auth=_request_auth,
91
95
  _content_type=_content_type,
92
96
  _headers=_headers,
@@ -114,6 +118,7 @@ class AdminApi:
114
118
  def get_pipeline_with_http_info(
115
119
  self,
116
120
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
121
+ pipeline_version: Annotated[StrictInt, Field(description="The integer version of the pipeline.")],
117
122
  _request_timeout: Union[
118
123
  None,
119
124
  Annotated[StrictFloat, Field(gt=0)],
@@ -132,6 +137,8 @@ class AdminApi:
132
137
 
133
138
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
134
139
  :type pipeline_name: str
140
+ :param pipeline_version: The integer version of the pipeline. (required)
141
+ :type pipeline_version: int
135
142
  :param _request_timeout: timeout setting for this request. If one
136
143
  number provided, it will be total request
137
144
  timeout. It can also be a pair (tuple) of
@@ -156,6 +163,7 @@ class AdminApi:
156
163
 
157
164
  _param = self._get_pipeline_serialize(
158
165
  pipeline_name=pipeline_name,
166
+ pipeline_version=pipeline_version,
159
167
  _request_auth=_request_auth,
160
168
  _content_type=_content_type,
161
169
  _headers=_headers,
@@ -183,6 +191,7 @@ class AdminApi:
183
191
  def get_pipeline_without_preload_content(
184
192
  self,
185
193
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
194
+ pipeline_version: Annotated[StrictInt, Field(description="The integer version of the pipeline.")],
186
195
  _request_timeout: Union[
187
196
  None,
188
197
  Annotated[StrictFloat, Field(gt=0)],
@@ -201,6 +210,8 @@ class AdminApi:
201
210
 
202
211
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
203
212
  :type pipeline_name: str
213
+ :param pipeline_version: The integer version of the pipeline. (required)
214
+ :type pipeline_version: int
204
215
  :param _request_timeout: timeout setting for this request. If one
205
216
  number provided, it will be total request
206
217
  timeout. It can also be a pair (tuple) of
@@ -225,6 +236,7 @@ class AdminApi:
225
236
 
226
237
  _param = self._get_pipeline_serialize(
227
238
  pipeline_name=pipeline_name,
239
+ pipeline_version=pipeline_version,
228
240
  _request_auth=_request_auth,
229
241
  _content_type=_content_type,
230
242
  _headers=_headers,
@@ -247,6 +259,7 @@ class AdminApi:
247
259
  def _get_pipeline_serialize(
248
260
  self,
249
261
  pipeline_name,
262
+ pipeline_version,
250
263
  _request_auth,
251
264
  _content_type,
252
265
  _headers,
@@ -270,6 +283,8 @@ class AdminApi:
270
283
  # process the path parameters
271
284
  if pipeline_name is not None:
272
285
  _path_params['pipelineName'] = pipeline_name
286
+ if pipeline_version is not None:
287
+ _path_params['pipelineVersion'] = pipeline_version
273
288
  # process the query parameters
274
289
  # process the header parameters
275
290
  # process the form parameters
@@ -293,7 +308,7 @@ class AdminApi:
293
308
 
294
309
  return self.api_client.param_serialize(
295
310
  method='GET',
296
- resource_path='/api/admin/v1/pipelines/{pipelineName}',
311
+ resource_path='/api/admin/v1/pipelines/{pipelineName}/{pipelineVersion}',
297
312
  path_params=_path_params,
298
313
  query_params=_query_params,
299
314
  header_params=_header_params,
@@ -596,6 +611,7 @@ class AdminApi:
596
611
  def update_pipeline(
597
612
  self,
598
613
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
614
+ pipeline_version: Annotated[StrictInt, Field(description="The integer version of the pipeline.")],
599
615
  update_pipeline_request_body: UpdatePipelineRequestBody,
600
616
  _request_timeout: Union[
601
617
  None,
@@ -615,6 +631,8 @@ class AdminApi:
615
631
 
616
632
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
617
633
  :type pipeline_name: str
634
+ :param pipeline_version: The integer version of the pipeline. (required)
635
+ :type pipeline_version: int
618
636
  :param update_pipeline_request_body: (required)
619
637
  :type update_pipeline_request_body: UpdatePipelineRequestBody
620
638
  :param _request_timeout: timeout setting for this request. If one
@@ -641,6 +659,7 @@ class AdminApi:
641
659
 
642
660
  _param = self._update_pipeline_serialize(
643
661
  pipeline_name=pipeline_name,
662
+ pipeline_version=pipeline_version,
644
663
  update_pipeline_request_body=update_pipeline_request_body,
645
664
  _request_auth=_request_auth,
646
665
  _content_type=_content_type,
@@ -669,6 +688,7 @@ class AdminApi:
669
688
  def update_pipeline_with_http_info(
670
689
  self,
671
690
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
691
+ pipeline_version: Annotated[StrictInt, Field(description="The integer version of the pipeline.")],
672
692
  update_pipeline_request_body: UpdatePipelineRequestBody,
673
693
  _request_timeout: Union[
674
694
  None,
@@ -688,6 +708,8 @@ class AdminApi:
688
708
 
689
709
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
690
710
  :type pipeline_name: str
711
+ :param pipeline_version: The integer version of the pipeline. (required)
712
+ :type pipeline_version: int
691
713
  :param update_pipeline_request_body: (required)
692
714
  :type update_pipeline_request_body: UpdatePipelineRequestBody
693
715
  :param _request_timeout: timeout setting for this request. If one
@@ -714,6 +736,7 @@ class AdminApi:
714
736
 
715
737
  _param = self._update_pipeline_serialize(
716
738
  pipeline_name=pipeline_name,
739
+ pipeline_version=pipeline_version,
717
740
  update_pipeline_request_body=update_pipeline_request_body,
718
741
  _request_auth=_request_auth,
719
742
  _content_type=_content_type,
@@ -742,6 +765,7 @@ class AdminApi:
742
765
  def update_pipeline_without_preload_content(
743
766
  self,
744
767
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
768
+ pipeline_version: Annotated[StrictInt, Field(description="The integer version of the pipeline.")],
745
769
  update_pipeline_request_body: UpdatePipelineRequestBody,
746
770
  _request_timeout: Union[
747
771
  None,
@@ -761,6 +785,8 @@ class AdminApi:
761
785
 
762
786
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
763
787
  :type pipeline_name: str
788
+ :param pipeline_version: The integer version of the pipeline. (required)
789
+ :type pipeline_version: int
764
790
  :param update_pipeline_request_body: (required)
765
791
  :type update_pipeline_request_body: UpdatePipelineRequestBody
766
792
  :param _request_timeout: timeout setting for this request. If one
@@ -787,6 +813,7 @@ class AdminApi:
787
813
 
788
814
  _param = self._update_pipeline_serialize(
789
815
  pipeline_name=pipeline_name,
816
+ pipeline_version=pipeline_version,
790
817
  update_pipeline_request_body=update_pipeline_request_body,
791
818
  _request_auth=_request_auth,
792
819
  _content_type=_content_type,
@@ -810,6 +837,7 @@ class AdminApi:
810
837
  def _update_pipeline_serialize(
811
838
  self,
812
839
  pipeline_name,
840
+ pipeline_version,
813
841
  update_pipeline_request_body,
814
842
  _request_auth,
815
843
  _content_type,
@@ -834,6 +862,8 @@ class AdminApi:
834
862
  # process the path parameters
835
863
  if pipeline_name is not None:
836
864
  _path_params['pipelineName'] = pipeline_name
865
+ if pipeline_version is not None:
866
+ _path_params['pipelineVersion'] = pipeline_version
837
867
  # process the query parameters
838
868
  # process the header parameters
839
869
  # process the form parameters
@@ -872,7 +902,7 @@ class AdminApi:
872
902
 
873
903
  return self.api_client.param_serialize(
874
904
  method='PATCH',
875
- resource_path='/api/admin/v1/pipelines/{pipelineName}',
905
+ resource_path='/api/admin/v1/pipelines/{pipelineName}/{pipelineVersion}',
876
906
  path_params=_path_params,
877
907
  query_params=_query_params,
878
908
  header_params=_header_params,
@@ -17,7 +17,9 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import Field, StrictStr
20
+ from typing import Optional
20
21
  from typing_extensions import Annotated
22
+ from teaspoons_client.models.get_pipeline_details_request_body import GetPipelineDetailsRequestBody
21
23
  from teaspoons_client.models.get_pipelines_result import GetPipelinesResult
22
24
  from teaspoons_client.models.pipeline_with_details import PipelineWithDetails
23
25
 
@@ -43,6 +45,7 @@ class PipelinesApi:
43
45
  def get_pipeline_details(
44
46
  self,
45
47
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
48
+ get_pipeline_details_request_body: Optional[GetPipelineDetailsRequestBody] = None,
46
49
  _request_timeout: Union[
47
50
  None,
48
51
  Annotated[StrictFloat, Field(gt=0)],
@@ -61,6 +64,8 @@ class PipelinesApi:
61
64
 
62
65
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
63
66
  :type pipeline_name: str
67
+ :param get_pipeline_details_request_body:
68
+ :type get_pipeline_details_request_body: GetPipelineDetailsRequestBody
64
69
  :param _request_timeout: timeout setting for this request. If one
65
70
  number provided, it will be total request
66
71
  timeout. It can also be a pair (tuple) of
@@ -85,6 +90,7 @@ class PipelinesApi:
85
90
 
86
91
  _param = self._get_pipeline_details_serialize(
87
92
  pipeline_name=pipeline_name,
93
+ get_pipeline_details_request_body=get_pipeline_details_request_body,
88
94
  _request_auth=_request_auth,
89
95
  _content_type=_content_type,
90
96
  _headers=_headers,
@@ -111,6 +117,7 @@ class PipelinesApi:
111
117
  def get_pipeline_details_with_http_info(
112
118
  self,
113
119
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
120
+ get_pipeline_details_request_body: Optional[GetPipelineDetailsRequestBody] = None,
114
121
  _request_timeout: Union[
115
122
  None,
116
123
  Annotated[StrictFloat, Field(gt=0)],
@@ -129,6 +136,8 @@ class PipelinesApi:
129
136
 
130
137
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
131
138
  :type pipeline_name: str
139
+ :param get_pipeline_details_request_body:
140
+ :type get_pipeline_details_request_body: GetPipelineDetailsRequestBody
132
141
  :param _request_timeout: timeout setting for this request. If one
133
142
  number provided, it will be total request
134
143
  timeout. It can also be a pair (tuple) of
@@ -153,6 +162,7 @@ class PipelinesApi:
153
162
 
154
163
  _param = self._get_pipeline_details_serialize(
155
164
  pipeline_name=pipeline_name,
165
+ get_pipeline_details_request_body=get_pipeline_details_request_body,
156
166
  _request_auth=_request_auth,
157
167
  _content_type=_content_type,
158
168
  _headers=_headers,
@@ -179,6 +189,7 @@ class PipelinesApi:
179
189
  def get_pipeline_details_without_preload_content(
180
190
  self,
181
191
  pipeline_name: Annotated[StrictStr, Field(description="A string identifier to used to identify a pipeline in the service.")],
192
+ get_pipeline_details_request_body: Optional[GetPipelineDetailsRequestBody] = None,
182
193
  _request_timeout: Union[
183
194
  None,
184
195
  Annotated[StrictFloat, Field(gt=0)],
@@ -197,6 +208,8 @@ class PipelinesApi:
197
208
 
198
209
  :param pipeline_name: A string identifier to used to identify a pipeline in the service. (required)
199
210
  :type pipeline_name: str
211
+ :param get_pipeline_details_request_body:
212
+ :type get_pipeline_details_request_body: GetPipelineDetailsRequestBody
200
213
  :param _request_timeout: timeout setting for this request. If one
201
214
  number provided, it will be total request
202
215
  timeout. It can also be a pair (tuple) of
@@ -221,6 +234,7 @@ class PipelinesApi:
221
234
 
222
235
  _param = self._get_pipeline_details_serialize(
223
236
  pipeline_name=pipeline_name,
237
+ get_pipeline_details_request_body=get_pipeline_details_request_body,
224
238
  _request_auth=_request_auth,
225
239
  _content_type=_content_type,
226
240
  _headers=_headers,
@@ -242,6 +256,7 @@ class PipelinesApi:
242
256
  def _get_pipeline_details_serialize(
243
257
  self,
244
258
  pipeline_name,
259
+ get_pipeline_details_request_body,
245
260
  _request_auth,
246
261
  _content_type,
247
262
  _headers,
@@ -269,6 +284,8 @@ class PipelinesApi:
269
284
  # process the header parameters
270
285
  # process the form parameters
271
286
  # process the body parameter
287
+ if get_pipeline_details_request_body is not None:
288
+ _body_params = get_pipeline_details_request_body
272
289
 
273
290
 
274
291
  # set the HTTP header `Accept`
@@ -279,6 +296,19 @@ class PipelinesApi:
279
296
  ]
280
297
  )
281
298
 
299
+ # set the HTTP header `Content-Type`
300
+ if _content_type:
301
+ _header_params['Content-Type'] = _content_type
302
+ else:
303
+ _default_content_type = (
304
+ self.api_client.select_header_content_type(
305
+ [
306
+ 'application/json'
307
+ ]
308
+ )
309
+ )
310
+ if _default_content_type is not None:
311
+ _header_params['Content-Type'] = _default_content_type
282
312
 
283
313
  # authentication setting
284
314
  _auth_settings: List[str] = [
@@ -287,7 +317,7 @@ class PipelinesApi:
287
317
  ]
288
318
 
289
319
  return self.api_client.param_serialize(
290
- method='GET',
320
+ method='POST',
291
321
  resource_path='/api/pipelines/v1/{pipelineName}',
292
322
  path_params=_path_params,
293
323
  query_params=_query_params,
@@ -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/0.1.14/python'
93
+ self.user_agent = 'terra-scientific-pipelines-service-api-client/0.1.16/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: 0.1.14".\
402
+ "SDK Package Version: 0.1.16".\
403
403
  format(env=sys.platform, pyversion=sys.version)
404
404
 
405
405
  def get_host_settings(self):
@@ -19,6 +19,7 @@ from teaspoons_client.models.admin_quota import AdminQuota
19
19
  from teaspoons_client.models.async_pipeline_run_response import AsyncPipelineRunResponse
20
20
  from teaspoons_client.models.error_report import ErrorReport
21
21
  from teaspoons_client.models.get_jobs_response import GetJobsResponse
22
+ from teaspoons_client.models.get_pipeline_details_request_body import GetPipelineDetailsRequestBody
22
23
  from teaspoons_client.models.get_pipeline_runs_response import GetPipelineRunsResponse
23
24
  from teaspoons_client.models.get_pipelines_result import GetPipelinesResult
24
25
  from teaspoons_client.models.job_control import JobControl
@@ -17,16 +17,17 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
24
24
 
25
25
  class AdminPipeline(BaseModel):
26
26
  """
27
- Object containing the pipeline identifier, display name, description, and control workspace information for a Pipeline.
27
+ Object containing the pipeline identifier, version, display name, description, and control workspace information for a Pipeline.
28
28
  """ # noqa: E501
29
29
  pipeline_name: StrictStr = Field(description="The identifier string for the Pipeline. ", alias="pipelineName")
30
+ pipeline_version: StrictInt = Field(description="An identifier Integer for the Pipeline Version. ", alias="pipelineVersion")
30
31
  display_name: StrictStr = Field(description="The display name for the Pipeline. ", alias="displayName")
31
32
  description: StrictStr = Field(description="The description for the Pipeline. ")
32
33
  wdl_method_version: StrictStr = Field(description="An identifier string for the Pipeline Wdl Version i.e. github repo tag/branch/release ", alias="wdlMethodVersion")
@@ -34,7 +35,7 @@ class AdminPipeline(BaseModel):
34
35
  workspace_name: StrictStr = Field(description="The name of the workspace to run the pipeline in. ", alias="workspaceName")
35
36
  workspace_storage_container_name: StrictStr = Field(description="The name of the workspace storage container (e.g. google bucket name, without gs:// prefix). ", alias="workspaceStorageContainerName")
36
37
  workspace_google_project: StrictStr = Field(description="The google project of the workspace to run the pipeline in. ", alias="workspaceGoogleProject")
37
- __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "description", "wdlMethodVersion", "workspaceBillingProject", "workspaceName", "workspaceStorageContainerName", "workspaceGoogleProject"]
38
+ __properties: ClassVar[List[str]] = ["pipelineName", "pipelineVersion", "displayName", "description", "wdlMethodVersion", "workspaceBillingProject", "workspaceName", "workspaceStorageContainerName", "workspaceGoogleProject"]
38
39
 
39
40
  model_config = ConfigDict(
40
41
  populate_by_name=True,
@@ -88,6 +89,7 @@ class AdminPipeline(BaseModel):
88
89
 
89
90
  _obj = cls.model_validate({
90
91
  "pipelineName": obj.get("pipelineName"),
92
+ "pipelineVersion": obj.get("pipelineVersion"),
91
93
  "displayName": obj.get("displayName"),
92
94
  "description": obj.get("description"),
93
95
  "wdlMethodVersion": obj.get("wdlMethodVersion"),
@@ -0,0 +1,87 @@
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, StrictInt
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
+ from typing import Optional, Set
23
+ from typing_extensions import Self
24
+
25
+ class GetPipelineDetailsRequestBody(BaseModel):
26
+ """
27
+ Object containing the user-provided information defining a pipeline details request
28
+ """ # noqa: E501
29
+ pipeline_version: Optional[StrictInt] = Field(default=None, description="An identifier Integer for the Pipeline Version. ", alias="pipelineVersion")
30
+ __properties: ClassVar[List[str]] = ["pipelineVersion"]
31
+
32
+ model_config = ConfigDict(
33
+ populate_by_name=True,
34
+ validate_assignment=True,
35
+ protected_namespaces=(),
36
+ )
37
+
38
+
39
+ def to_str(self) -> str:
40
+ """Returns the string representation of the model using alias"""
41
+ return pprint.pformat(self.model_dump(by_alias=True))
42
+
43
+ def to_json(self) -> str:
44
+ """Returns the JSON representation of the model using alias"""
45
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
46
+ return json.dumps(self.to_dict())
47
+
48
+ @classmethod
49
+ def from_json(cls, json_str: str) -> Optional[Self]:
50
+ """Create an instance of GetPipelineDetailsRequestBody from a JSON string"""
51
+ return cls.from_dict(json.loads(json_str))
52
+
53
+ def to_dict(self) -> Dict[str, Any]:
54
+ """Return the dictionary representation of the model using alias.
55
+
56
+ This has the following differences from calling pydantic's
57
+ `self.model_dump(by_alias=True)`:
58
+
59
+ * `None` is only added to the output dict for nullable fields that
60
+ were set at model initialization. Other fields with value `None`
61
+ are ignored.
62
+ """
63
+ excluded_fields: Set[str] = set([
64
+ ])
65
+
66
+ _dict = self.model_dump(
67
+ by_alias=True,
68
+ exclude=excluded_fields,
69
+ exclude_none=True,
70
+ )
71
+ return _dict
72
+
73
+ @classmethod
74
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
75
+ """Create an instance of GetPipelineDetailsRequestBody from a dict"""
76
+ if obj is None:
77
+ return None
78
+
79
+ if not isinstance(obj, dict):
80
+ return cls.model_validate(obj)
81
+
82
+ _obj = cls.model_validate({
83
+ "pipelineVersion": obj.get("pipelineVersion")
84
+ })
85
+ return _obj
86
+
87
+
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
@@ -28,8 +28,9 @@ class Pipeline(BaseModel):
28
28
  """ # noqa: E501
29
29
  pipeline_name: StrictStr = Field(description="The identifier string for the Pipeline. ", alias="pipelineName")
30
30
  display_name: StrictStr = Field(description="The display name for the Pipeline. ", alias="displayName")
31
+ pipeline_version: StrictInt = Field(description="An identifier Integer for the Pipeline Version. ", alias="pipelineVersion")
31
32
  description: StrictStr = Field(description="The description for the Pipeline. ")
32
- __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "description"]
33
+ __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "pipelineVersion", "description"]
33
34
 
34
35
  model_config = ConfigDict(
35
36
  populate_by_name=True,
@@ -84,6 +85,7 @@ class Pipeline(BaseModel):
84
85
  _obj = cls.model_validate({
85
86
  "pipelineName": obj.get("pipelineName"),
86
87
  "displayName": obj.get("displayName"),
88
+ "pipelineVersion": obj.get("pipelineVersion"),
87
89
  "description": obj.get("description")
88
90
  })
89
91
  return _obj
@@ -17,7 +17,7 @@ import pprint
17
17
  import re # noqa: F401
18
18
  import json
19
19
 
20
- from pydantic import BaseModel, ConfigDict, Field, StrictStr
20
+ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List
22
22
  from teaspoons_client.models.pipeline_user_provided_input_definition import PipelineUserProvidedInputDefinition
23
23
  from typing import Optional, Set
@@ -29,10 +29,11 @@ class PipelineWithDetails(BaseModel):
29
29
  """ # noqa: E501
30
30
  pipeline_name: StrictStr = Field(description="The identifier string for the Pipeline. ", alias="pipelineName")
31
31
  display_name: StrictStr = Field(description="The display name for the Pipeline. ", alias="displayName")
32
+ pipeline_version: StrictInt = Field(description="An identifier Integer for the Pipeline Version. ", alias="pipelineVersion")
32
33
  description: StrictStr = Field(description="The description for the Pipeline. ")
33
34
  type: StrictStr = Field(description="The general type of the Pipeline. ")
34
35
  inputs: List[PipelineUserProvidedInputDefinition] = Field(description="A list of user-provided input fields and specifications for the Pipeline. ")
35
- __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "description", "type", "inputs"]
36
+ __properties: ClassVar[List[str]] = ["pipelineName", "displayName", "pipelineVersion", "description", "type", "inputs"]
36
37
 
37
38
  model_config = ConfigDict(
38
39
  populate_by_name=True,
@@ -94,6 +95,7 @@ class PipelineWithDetails(BaseModel):
94
95
  _obj = cls.model_validate({
95
96
  "pipelineName": obj.get("pipelineName"),
96
97
  "displayName": obj.get("displayName"),
98
+ "pipelineVersion": obj.get("pipelineVersion"),
97
99
  "description": obj.get("description"),
98
100
  "type": obj.get("type"),
99
101
  "inputs": [PipelineUserProvidedInputDefinition.from_dict(_item) for _item in obj["inputs"]] if obj.get("inputs") is not None else None
@@ -18,7 +18,7 @@ import re # noqa: F401
18
18
  import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
21
- from typing import Any, ClassVar, Dict, List
21
+ from typing import Any, ClassVar, Dict, List, Optional
22
22
  from typing import Optional, Set
23
23
  from typing_extensions import Self
24
24
 
@@ -28,7 +28,7 @@ class PreparePipelineRunRequestBody(BaseModel):
28
28
  """ # noqa: E501
29
29
  job_id: StrictStr = Field(description="Required unique identifier (UUID) for a job. ", alias="jobId")
30
30
  pipeline_name: StrictStr = Field(description="The identifier string for the Pipeline. ", alias="pipelineName")
31
- pipeline_version: StrictInt = Field(description="An identifier Integer for the Pipeline Version. ", alias="pipelineVersion")
31
+ pipeline_version: Optional[StrictInt] = Field(default=None, description="An identifier Integer for the Pipeline Version. ", alias="pipelineVersion")
32
32
  pipeline_inputs: Dict[str, Any] = Field(description="A map(string:object) of user-provided inputs for the Pipeline. ", alias="pipelineInputs")
33
33
  __properties: ClassVar[List[str]] = ["jobId", "pipelineName", "pipelineVersion", "pipelineInputs"]
34
34
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: terra-scientific-pipelines-service-api-client
3
- Version: 0.1.14
3
+ Version: 0.1.16
4
4
  Summary: Terra Scientific Pipelines Service
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -22,6 +22,7 @@ teaspoons_client/models/admin_quota.py
22
22
  teaspoons_client/models/async_pipeline_run_response.py
23
23
  teaspoons_client/models/error_report.py
24
24
  teaspoons_client/models/get_jobs_response.py
25
+ teaspoons_client/models/get_pipeline_details_request_body.py
25
26
  teaspoons_client/models/get_pipeline_runs_response.py
26
27
  teaspoons_client/models/get_pipelines_result.py
27
28
  teaspoons_client/models/job_control.py
@@ -52,6 +53,7 @@ test/test_admin_quota.py
52
53
  test/test_async_pipeline_run_response.py
53
54
  test/test_error_report.py
54
55
  test/test_get_jobs_response.py
56
+ test/test_get_pipeline_details_request_body.py
55
57
  test/test_get_pipeline_runs_response.py
56
58
  test/test_get_pipelines_result.py
57
59
  test/test_job_control.py
@@ -36,6 +36,7 @@ class TestAdminPipeline(unittest.TestCase):
36
36
  if include_optional:
37
37
  return AdminPipeline(
38
38
  pipeline_name = '',
39
+ pipeline_version = 56,
39
40
  display_name = '',
40
41
  description = '',
41
42
  wdl_method_version = '',
@@ -47,6 +48,7 @@ class TestAdminPipeline(unittest.TestCase):
47
48
  else:
48
49
  return AdminPipeline(
49
50
  pipeline_name = '',
51
+ pipeline_version = 56,
50
52
  display_name = '',
51
53
  description = '',
52
54
  wdl_method_version = '',
@@ -0,0 +1,51 @@
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.get_pipeline_details_request_body import GetPipelineDetailsRequestBody
18
+
19
+ class TestGetPipelineDetailsRequestBody(unittest.TestCase):
20
+ """GetPipelineDetailsRequestBody 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) -> GetPipelineDetailsRequestBody:
29
+ """Test GetPipelineDetailsRequestBody
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 `GetPipelineDetailsRequestBody`
34
+ """
35
+ model = GetPipelineDetailsRequestBody()
36
+ if include_optional:
37
+ return GetPipelineDetailsRequestBody(
38
+ pipeline_version = 56
39
+ )
40
+ else:
41
+ return GetPipelineDetailsRequestBody(
42
+ )
43
+ """
44
+
45
+ def testGetPipelineDetailsRequestBody(self):
46
+ """Test GetPipelineDetailsRequestBody"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -39,6 +39,7 @@ class TestGetPipelinesResult(unittest.TestCase):
39
39
  teaspoons_client.models.pipeline.Pipeline(
40
40
  pipeline_name = '',
41
41
  display_name = '',
42
+ pipeline_version = 56,
42
43
  description = '', )
43
44
  ]
44
45
  )
@@ -37,12 +37,14 @@ class TestPipeline(unittest.TestCase):
37
37
  return Pipeline(
38
38
  pipeline_name = '',
39
39
  display_name = '',
40
+ pipeline_version = 56,
40
41
  description = ''
41
42
  )
42
43
  else:
43
44
  return Pipeline(
44
45
  pipeline_name = '',
45
46
  display_name = '',
47
+ pipeline_version = 56,
46
48
  description = '',
47
49
  )
48
50
  """
@@ -37,6 +37,7 @@ class TestPipelineWithDetails(unittest.TestCase):
37
37
  return PipelineWithDetails(
38
38
  pipeline_name = '',
39
39
  display_name = '',
40
+ pipeline_version = 56,
40
41
  description = '',
41
42
  type = '',
42
43
  inputs = [
@@ -50,6 +51,7 @@ class TestPipelineWithDetails(unittest.TestCase):
50
51
  return PipelineWithDetails(
51
52
  pipeline_name = '',
52
53
  display_name = '',
54
+ pipeline_version = 56,
53
55
  description = '',
54
56
  type = '',
55
57
  inputs = [
@@ -46,7 +46,6 @@ class TestPreparePipelineRunRequestBody(unittest.TestCase):
46
46
  return PreparePipelineRunRequestBody(
47
47
  job_id = '',
48
48
  pipeline_name = '',
49
- pipeline_version = 56,
50
49
  pipeline_inputs = {
51
50
  'key' : null
52
51
  },