neops_workflow_engine_client 0.36.0__tar.gz → 0.37.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.
Files changed (23) hide show
  1. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/PKG-INFO +4 -3
  2. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/README.md +3 -2
  3. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/__init__.py +1 -1
  4. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api/blackboard_api.py +30 -0
  5. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api_client.py +1 -1
  6. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/configuration.py +1 -1
  7. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/pyproject.toml +1 -1
  8. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api/__init__.py +0 -0
  9. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api/default_api.py +0 -0
  10. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api/function_block_api.py +0 -0
  11. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api/health_api.py +0 -0
  12. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api/workflows_api.py +0 -0
  13. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/api_response.py +0 -0
  14. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/exceptions.py +0 -0
  15. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/__init__.py +0 -0
  16. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/execute_workflow_dto.py +0 -0
  17. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/health_response.py +0 -0
  18. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/job_definition_dto.py +0 -0
  19. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/job_result_dto.py +0 -0
  20. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/register_function_block_dto.py +0 -0
  21. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/models/workflow_dto.py +0 -0
  22. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/py.typed +0 -0
  23. {neops_workflow_engine_client-0.36.0 → neops_workflow_engine_client-0.37.0}/neops_workflow_engine_client/rest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: neops_workflow_engine_client
3
- Version: 0.36.0
3
+ Version: 0.37.0
4
4
  Summary: Neops Workflow Engine
5
5
  Home-page: https://github.com/GIT_USER_ID/GIT_REPO_ID
6
6
  License: NoLicense
@@ -29,7 +29,7 @@ Neops workflow engine API documentation
29
29
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
30
30
 
31
31
  - API version: 1.0
32
- - Package version: 0.36.0
32
+ - Package version: 0.37.0
33
33
  - Generator version: 7.9.0
34
34
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
35
35
 
@@ -92,9 +92,10 @@ configuration = neops_workflow_engine_client.Configuration(
92
92
  with neops_workflow_engine_client.ApiClient(configuration) as api_client:
93
93
  # Create an instance of the API class
94
94
  api_instance = neops_workflow_engine_client.BlackboardApi(api_client)
95
+ request_body = ['request_body_example'] # List[str] |
95
96
 
96
97
  try:
97
- api_response = api_instance.blackboard_controller_poll_job()
98
+ api_response = api_instance.blackboard_controller_poll_job(request_body)
98
99
  print("The response of BlackboardApi->blackboard_controller_poll_job:\n")
99
100
  pprint(api_response)
100
101
  except ApiException as e:
@@ -4,7 +4,7 @@ Neops workflow engine API documentation
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
7
- - Package version: 0.36.0
7
+ - Package version: 0.37.0
8
8
  - Generator version: 7.9.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
 
@@ -67,9 +67,10 @@ configuration = neops_workflow_engine_client.Configuration(
67
67
  with neops_workflow_engine_client.ApiClient(configuration) as api_client:
68
68
  # Create an instance of the API class
69
69
  api_instance = neops_workflow_engine_client.BlackboardApi(api_client)
70
+ request_body = ['request_body_example'] # List[str] |
70
71
 
71
72
  try:
72
- api_response = api_instance.blackboard_controller_poll_job()
73
+ api_response = api_instance.blackboard_controller_poll_job(request_body)
73
74
  print("The response of BlackboardApi->blackboard_controller_poll_job:\n")
74
75
  pprint(api_response)
75
76
  except ApiException as e:
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "0.36.0"
17
+ __version__ = "0.37.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from neops_workflow_engine_client.api.blackboard_api import BlackboardApi
@@ -16,6 +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 StrictStr
19
20
  from typing import List
20
21
  from neops_workflow_engine_client.models.job_definition_dto import JobDefinitionDto
21
22
  from neops_workflow_engine_client.models.job_result_dto import JobResultDto
@@ -41,6 +42,7 @@ class BlackboardApi:
41
42
  @validate_call
42
43
  def blackboard_controller_poll_job(
43
44
  self,
45
+ request_body: List[StrictStr],
44
46
  _request_timeout: Union[
45
47
  None,
46
48
  Annotated[StrictFloat, Field(gt=0)],
@@ -57,6 +59,8 @@ class BlackboardApi:
57
59
  """blackboard_controller_poll_job
58
60
 
59
61
 
62
+ :param request_body: (required)
63
+ :type request_body: List[str]
60
64
  :param _request_timeout: timeout setting for this request. If one
61
65
  number provided, it will be total request
62
66
  timeout. It can also be a pair (tuple) of
@@ -80,6 +84,7 @@ class BlackboardApi:
80
84
  """ # noqa: E501
81
85
 
82
86
  _param = self._blackboard_controller_poll_job_serialize(
87
+ request_body=request_body,
83
88
  _request_auth=_request_auth,
84
89
  _content_type=_content_type,
85
90
  _headers=_headers,
@@ -104,6 +109,7 @@ class BlackboardApi:
104
109
  @validate_call
105
110
  def blackboard_controller_poll_job_with_http_info(
106
111
  self,
112
+ request_body: List[StrictStr],
107
113
  _request_timeout: Union[
108
114
  None,
109
115
  Annotated[StrictFloat, Field(gt=0)],
@@ -120,6 +126,8 @@ class BlackboardApi:
120
126
  """blackboard_controller_poll_job
121
127
 
122
128
 
129
+ :param request_body: (required)
130
+ :type request_body: List[str]
123
131
  :param _request_timeout: timeout setting for this request. If one
124
132
  number provided, it will be total request
125
133
  timeout. It can also be a pair (tuple) of
@@ -143,6 +151,7 @@ class BlackboardApi:
143
151
  """ # noqa: E501
144
152
 
145
153
  _param = self._blackboard_controller_poll_job_serialize(
154
+ request_body=request_body,
146
155
  _request_auth=_request_auth,
147
156
  _content_type=_content_type,
148
157
  _headers=_headers,
@@ -167,6 +176,7 @@ class BlackboardApi:
167
176
  @validate_call
168
177
  def blackboard_controller_poll_job_without_preload_content(
169
178
  self,
179
+ request_body: List[StrictStr],
170
180
  _request_timeout: Union[
171
181
  None,
172
182
  Annotated[StrictFloat, Field(gt=0)],
@@ -183,6 +193,8 @@ class BlackboardApi:
183
193
  """blackboard_controller_poll_job
184
194
 
185
195
 
196
+ :param request_body: (required)
197
+ :type request_body: List[str]
186
198
  :param _request_timeout: timeout setting for this request. If one
187
199
  number provided, it will be total request
188
200
  timeout. It can also be a pair (tuple) of
@@ -206,6 +218,7 @@ class BlackboardApi:
206
218
  """ # noqa: E501
207
219
 
208
220
  _param = self._blackboard_controller_poll_job_serialize(
221
+ request_body=request_body,
209
222
  _request_auth=_request_auth,
210
223
  _content_type=_content_type,
211
224
  _headers=_headers,
@@ -225,6 +238,7 @@ class BlackboardApi:
225
238
 
226
239
  def _blackboard_controller_poll_job_serialize(
227
240
  self,
241
+ request_body,
228
242
  _request_auth,
229
243
  _content_type,
230
244
  _headers,
@@ -234,6 +248,7 @@ class BlackboardApi:
234
248
  _host = None
235
249
 
236
250
  _collection_formats: Dict[str, str] = {
251
+ 'request_body': '',
237
252
  }
238
253
 
239
254
  _path_params: Dict[str, str] = {}
@@ -250,6 +265,8 @@ class BlackboardApi:
250
265
  # process the header parameters
251
266
  # process the form parameters
252
267
  # process the body parameter
268
+ if request_body is not None:
269
+ _body_params = request_body
253
270
 
254
271
 
255
272
  # set the HTTP header `Accept`
@@ -260,6 +277,19 @@ class BlackboardApi:
260
277
  ]
261
278
  )
262
279
 
280
+ # set the HTTP header `Content-Type`
281
+ if _content_type:
282
+ _header_params['Content-Type'] = _content_type
283
+ else:
284
+ _default_content_type = (
285
+ self.api_client.select_header_content_type(
286
+ [
287
+ 'application/json'
288
+ ]
289
+ )
290
+ )
291
+ if _default_content_type is not None:
292
+ _header_params['Content-Type'] = _default_content_type
263
293
 
264
294
  # authentication setting
265
295
  _auth_settings: List[str] = [
@@ -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 = 'OpenAPI-Generator/0.36.0/python'
93
+ self.user_agent = 'OpenAPI-Generator/0.37.0/python'
94
94
  self.client_side_validation = configuration.client_side_validation
95
95
 
96
96
  def __enter__(self):
@@ -384,7 +384,7 @@ class Configuration:
384
384
  "OS: {env}\n"\
385
385
  "Python Version: {pyversion}\n"\
386
386
  "Version of the API: 1.0\n"\
387
- "SDK Package Version: 0.36.0".\
387
+ "SDK Package Version: 0.37.0".\
388
388
  format(env=sys.platform, pyversion=sys.version)
389
389
 
390
390
  def get_host_settings(self):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "neops_workflow_engine_client"
3
- version = "0.36.0"
3
+ version = "0.37.0"
4
4
  description = "Neops Workflow Engine"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "NoLicense"