neops_workflow_engine_client 0.32.0__tar.gz → 0.36.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.32.0 → neops_workflow_engine_client-0.36.0}/PKG-INFO +21 -17
  2. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/README.md +20 -16
  3. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/__init__.py +4 -2
  4. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api/__init__.py +1 -1
  5. neops_workflow_engine_client-0.32.0/neops_workflow_engine_client/api/job_api.py → neops_workflow_engine_client-0.36.0/neops_workflow_engine_client/api/blackboard_api.py +33 -29
  6. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api/default_api.py +13 -5
  7. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api/function_block_api.py +14 -14
  8. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api/health_api.py +3 -3
  9. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api/workflows_api.py +134 -154
  10. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api_client.py +1 -1
  11. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/configuration.py +1 -1
  12. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/models/__init__.py +2 -0
  13. neops_workflow_engine_client-0.36.0/neops_workflow_engine_client/models/execute_workflow_dto.py +93 -0
  14. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/models/health_response.py +2 -2
  15. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/models/job_result_dto.py +2 -2
  16. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/models/register_function_block_dto.py +11 -11
  17. neops_workflow_engine_client-0.36.0/neops_workflow_engine_client/models/workflow_dto.py +107 -0
  18. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/pyproject.toml +1 -1
  19. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/api_response.py +0 -0
  20. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/exceptions.py +0 -0
  21. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/models/job_definition_dto.py +0 -0
  22. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.0}/neops_workflow_engine_client/py.typed +0 -0
  23. {neops_workflow_engine_client-0.32.0 → neops_workflow_engine_client-0.36.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.32.0
3
+ Version: 0.36.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.32.0
32
+ - Package version: 0.36.0
33
33
  - Generator version: 7.9.0
34
34
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
35
35
 
@@ -91,12 +91,14 @@ configuration = neops_workflow_engine_client.Configuration(
91
91
  # Enter a context with an instance of the API client
92
92
  with neops_workflow_engine_client.ApiClient(configuration) as api_client:
93
93
  # Create an instance of the API class
94
- api_instance = neops_workflow_engine_client.DefaultApi(api_client)
94
+ api_instance = neops_workflow_engine_client.BlackboardApi(api_client)
95
95
 
96
96
  try:
97
- api_instance.app_controller_get_hello()
97
+ api_response = api_instance.blackboard_controller_poll_job()
98
+ print("The response of BlackboardApi->blackboard_controller_poll_job:\n")
99
+ pprint(api_response)
98
100
  except ApiException as e:
99
- print("Exception when calling DefaultApi->app_controller_get_hello: %s\n" % e)
101
+ print("Exception when calling BlackboardApi->blackboard_controller_poll_job: %s\n" % e)
100
102
 
101
103
  ```
102
104
 
@@ -106,27 +108,29 @@ All URIs are relative to *http://localhost*
106
108
 
107
109
  Class | Method | HTTP request | Description
108
110
  ------------ | ------------- | ------------- | -------------
111
+ *BlackboardApi* | [**blackboard_controller_poll_job**](docs/BlackboardApi.md#blackboard_controller_poll_job) | **POST** /blackboard/job |
112
+ *BlackboardApi* | [**blackboard_controller_push_job_result**](docs/BlackboardApi.md#blackboard_controller_push_job_result) | **POST** /blackboard/job/result |
109
113
  *DefaultApi* | [**app_controller_get_hello**](docs/DefaultApi.md#app_controller_get_hello) | **GET** / |
110
- *FunctionBlockApi* | [**function_blocks_controller_find_all**](docs/FunctionBlockApi.md#function_blocks_controller_find_all) | **GET** /function-blocks |
111
- *FunctionBlockApi* | [**function_blocks_controller_find_one**](docs/FunctionBlockApi.md#function_blocks_controller_find_one) | **GET** /function-blocks/{id} |
112
- *FunctionBlockApi* | [**function_blocks_controller_register**](docs/FunctionBlockApi.md#function_blocks_controller_register) | **POST** /function-blocks |
113
- *FunctionBlockApi* | [**function_blocks_controller_unregister**](docs/FunctionBlockApi.md#function_blocks_controller_unregister) | **DELETE** /function-blocks/{id} |
114
- *HealthApi* | [**health_controller_healthy**](docs/HealthApi.md#health_controller_healthy) | **GET** /health |
115
- *JobApi* | [**job_controller_poll_job**](docs/JobApi.md#job_controller_poll_job) | **GET** /job |
116
- *JobApi* | [**job_controller_push_job_result**](docs/JobApi.md#job_controller_push_job_result) | **POST** /job |
117
- *WorkflowsApi* | [**workflow_controller_create**](docs/WorkflowsApi.md#workflow_controller_create) | **POST** /workflow |
118
- *WorkflowsApi* | [**workflow_controller_find_all**](docs/WorkflowsApi.md#workflow_controller_find_all) | **GET** /workflow |
119
- *WorkflowsApi* | [**workflow_controller_find_one**](docs/WorkflowsApi.md#workflow_controller_find_one) | **GET** /workflow/{id} |
120
- *WorkflowsApi* | [**workflow_controller_remove**](docs/WorkflowsApi.md#workflow_controller_remove) | **DELETE** /workflow/{id} |
121
- *WorkflowsApi* | [**workflow_controller_update**](docs/WorkflowsApi.md#workflow_controller_update) | **PATCH** /workflow/{id} |
114
+ *FunctionBlockApi* | [**function_blocks_controller_find_all**](docs/FunctionBlockApi.md#function_blocks_controller_find_all) | **GET** /function-blocks/list | List all registered function blocks
115
+ *FunctionBlockApi* | [**function_blocks_controller_find_one**](docs/FunctionBlockApi.md#function_blocks_controller_find_one) | **GET** /function-blocks/{id} | Get a function block by id
116
+ *FunctionBlockApi* | [**function_blocks_controller_register**](docs/FunctionBlockApi.md#function_blocks_controller_register) | **POST** /function-blocks/register | Register a function block
117
+ *FunctionBlockApi* | [**function_blocks_controller_unregister**](docs/FunctionBlockApi.md#function_blocks_controller_unregister) | **DELETE** /function-blocks/{id} | Unregister a function block
118
+ *HealthApi* | [**health_controller_healthy**](docs/HealthApi.md#health_controller_healthy) | **GET** /health | Check health of task engine
119
+ *WorkflowsApi* | [**workflow_controller_execute**](docs/WorkflowsApi.md#workflow_controller_execute) | **POST** /workflow | Execute a workflow
120
+ *WorkflowsApi* | [**workflow_controller_ge_all**](docs/WorkflowsApi.md#workflow_controller_ge_all) | **GET** /workflow/failed | List all failed workflows
121
+ *WorkflowsApi* | [**workflow_controller_get_all**](docs/WorkflowsApi.md#workflow_controller_get_all) | **GET** /workflow/all | List all workflows
122
+ *WorkflowsApi* | [**workflow_controller_get_running**](docs/WorkflowsApi.md#workflow_controller_get_running) | **GET** /workflow/running | List all running workflows
123
+ *WorkflowsApi* | [**workflow_controller_remove**](docs/WorkflowsApi.md#workflow_controller_remove) | **DELETE** /workflow/{id} | Stop a workflow
122
124
 
123
125
 
124
126
  ## Documentation For Models
125
127
 
128
+ - [ExecuteWorkflowDto](docs/ExecuteWorkflowDto.md)
126
129
  - [HealthResponse](docs/HealthResponse.md)
127
130
  - [JobDefinitionDto](docs/JobDefinitionDto.md)
128
131
  - [JobResultDto](docs/JobResultDto.md)
129
132
  - [RegisterFunctionBlockDto](docs/RegisterFunctionBlockDto.md)
133
+ - [WorkflowDto](docs/WorkflowDto.md)
130
134
 
131
135
 
132
136
  <a id="documentation-for-authorization"></a>
@@ -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.32.0
7
+ - Package version: 0.36.0
8
8
  - Generator version: 7.9.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
 
@@ -66,12 +66,14 @@ configuration = neops_workflow_engine_client.Configuration(
66
66
  # Enter a context with an instance of the API client
67
67
  with neops_workflow_engine_client.ApiClient(configuration) as api_client:
68
68
  # Create an instance of the API class
69
- api_instance = neops_workflow_engine_client.DefaultApi(api_client)
69
+ api_instance = neops_workflow_engine_client.BlackboardApi(api_client)
70
70
 
71
71
  try:
72
- api_instance.app_controller_get_hello()
72
+ api_response = api_instance.blackboard_controller_poll_job()
73
+ print("The response of BlackboardApi->blackboard_controller_poll_job:\n")
74
+ pprint(api_response)
73
75
  except ApiException as e:
74
- print("Exception when calling DefaultApi->app_controller_get_hello: %s\n" % e)
76
+ print("Exception when calling BlackboardApi->blackboard_controller_poll_job: %s\n" % e)
75
77
 
76
78
  ```
77
79
 
@@ -81,27 +83,29 @@ All URIs are relative to *http://localhost*
81
83
 
82
84
  Class | Method | HTTP request | Description
83
85
  ------------ | ------------- | ------------- | -------------
86
+ *BlackboardApi* | [**blackboard_controller_poll_job**](docs/BlackboardApi.md#blackboard_controller_poll_job) | **POST** /blackboard/job |
87
+ *BlackboardApi* | [**blackboard_controller_push_job_result**](docs/BlackboardApi.md#blackboard_controller_push_job_result) | **POST** /blackboard/job/result |
84
88
  *DefaultApi* | [**app_controller_get_hello**](docs/DefaultApi.md#app_controller_get_hello) | **GET** / |
85
- *FunctionBlockApi* | [**function_blocks_controller_find_all**](docs/FunctionBlockApi.md#function_blocks_controller_find_all) | **GET** /function-blocks |
86
- *FunctionBlockApi* | [**function_blocks_controller_find_one**](docs/FunctionBlockApi.md#function_blocks_controller_find_one) | **GET** /function-blocks/{id} |
87
- *FunctionBlockApi* | [**function_blocks_controller_register**](docs/FunctionBlockApi.md#function_blocks_controller_register) | **POST** /function-blocks |
88
- *FunctionBlockApi* | [**function_blocks_controller_unregister**](docs/FunctionBlockApi.md#function_blocks_controller_unregister) | **DELETE** /function-blocks/{id} |
89
- *HealthApi* | [**health_controller_healthy**](docs/HealthApi.md#health_controller_healthy) | **GET** /health |
90
- *JobApi* | [**job_controller_poll_job**](docs/JobApi.md#job_controller_poll_job) | **GET** /job |
91
- *JobApi* | [**job_controller_push_job_result**](docs/JobApi.md#job_controller_push_job_result) | **POST** /job |
92
- *WorkflowsApi* | [**workflow_controller_create**](docs/WorkflowsApi.md#workflow_controller_create) | **POST** /workflow |
93
- *WorkflowsApi* | [**workflow_controller_find_all**](docs/WorkflowsApi.md#workflow_controller_find_all) | **GET** /workflow |
94
- *WorkflowsApi* | [**workflow_controller_find_one**](docs/WorkflowsApi.md#workflow_controller_find_one) | **GET** /workflow/{id} |
95
- *WorkflowsApi* | [**workflow_controller_remove**](docs/WorkflowsApi.md#workflow_controller_remove) | **DELETE** /workflow/{id} |
96
- *WorkflowsApi* | [**workflow_controller_update**](docs/WorkflowsApi.md#workflow_controller_update) | **PATCH** /workflow/{id} |
89
+ *FunctionBlockApi* | [**function_blocks_controller_find_all**](docs/FunctionBlockApi.md#function_blocks_controller_find_all) | **GET** /function-blocks/list | List all registered function blocks
90
+ *FunctionBlockApi* | [**function_blocks_controller_find_one**](docs/FunctionBlockApi.md#function_blocks_controller_find_one) | **GET** /function-blocks/{id} | Get a function block by id
91
+ *FunctionBlockApi* | [**function_blocks_controller_register**](docs/FunctionBlockApi.md#function_blocks_controller_register) | **POST** /function-blocks/register | Register a function block
92
+ *FunctionBlockApi* | [**function_blocks_controller_unregister**](docs/FunctionBlockApi.md#function_blocks_controller_unregister) | **DELETE** /function-blocks/{id} | Unregister a function block
93
+ *HealthApi* | [**health_controller_healthy**](docs/HealthApi.md#health_controller_healthy) | **GET** /health | Check health of task engine
94
+ *WorkflowsApi* | [**workflow_controller_execute**](docs/WorkflowsApi.md#workflow_controller_execute) | **POST** /workflow | Execute a workflow
95
+ *WorkflowsApi* | [**workflow_controller_ge_all**](docs/WorkflowsApi.md#workflow_controller_ge_all) | **GET** /workflow/failed | List all failed workflows
96
+ *WorkflowsApi* | [**workflow_controller_get_all**](docs/WorkflowsApi.md#workflow_controller_get_all) | **GET** /workflow/all | List all workflows
97
+ *WorkflowsApi* | [**workflow_controller_get_running**](docs/WorkflowsApi.md#workflow_controller_get_running) | **GET** /workflow/running | List all running workflows
98
+ *WorkflowsApi* | [**workflow_controller_remove**](docs/WorkflowsApi.md#workflow_controller_remove) | **DELETE** /workflow/{id} | Stop a workflow
97
99
 
98
100
 
99
101
  ## Documentation For Models
100
102
 
103
+ - [ExecuteWorkflowDto](docs/ExecuteWorkflowDto.md)
101
104
  - [HealthResponse](docs/HealthResponse.md)
102
105
  - [JobDefinitionDto](docs/JobDefinitionDto.md)
103
106
  - [JobResultDto](docs/JobResultDto.md)
104
107
  - [RegisterFunctionBlockDto](docs/RegisterFunctionBlockDto.md)
108
+ - [WorkflowDto](docs/WorkflowDto.md)
105
109
 
106
110
 
107
111
  <a id="documentation-for-authorization"></a>
@@ -14,13 +14,13 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "0.32.0"
17
+ __version__ = "0.36.0"
18
18
 
19
19
  # import apis into sdk package
20
+ from neops_workflow_engine_client.api.blackboard_api import BlackboardApi
20
21
  from neops_workflow_engine_client.api.default_api import DefaultApi
21
22
  from neops_workflow_engine_client.api.function_block_api import FunctionBlockApi
22
23
  from neops_workflow_engine_client.api.health_api import HealthApi
23
- from neops_workflow_engine_client.api.job_api import JobApi
24
24
  from neops_workflow_engine_client.api.workflows_api import WorkflowsApi
25
25
 
26
26
  # import ApiClient
@@ -35,7 +35,9 @@ from neops_workflow_engine_client.exceptions import ApiAttributeError
35
35
  from neops_workflow_engine_client.exceptions import ApiException
36
36
 
37
37
  # import models into sdk package
38
+ from neops_workflow_engine_client.models.execute_workflow_dto import ExecuteWorkflowDto
38
39
  from neops_workflow_engine_client.models.health_response import HealthResponse
39
40
  from neops_workflow_engine_client.models.job_definition_dto import JobDefinitionDto
40
41
  from neops_workflow_engine_client.models.job_result_dto import JobResultDto
41
42
  from neops_workflow_engine_client.models.register_function_block_dto import RegisterFunctionBlockDto
43
+ from neops_workflow_engine_client.models.workflow_dto import WorkflowDto
@@ -1,9 +1,9 @@
1
1
  # flake8: noqa
2
2
 
3
3
  # import apis into api package
4
+ from neops_workflow_engine_client.api.blackboard_api import BlackboardApi
4
5
  from neops_workflow_engine_client.api.default_api import DefaultApi
5
6
  from neops_workflow_engine_client.api.function_block_api import FunctionBlockApi
6
7
  from neops_workflow_engine_client.api.health_api import HealthApi
7
- from neops_workflow_engine_client.api.job_api import JobApi
8
8
  from neops_workflow_engine_client.api.workflows_api import WorkflowsApi
9
9
 
@@ -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 typing import List
19
20
  from neops_workflow_engine_client.models.job_definition_dto import JobDefinitionDto
20
21
  from neops_workflow_engine_client.models.job_result_dto import JobResultDto
21
22
 
@@ -24,7 +25,7 @@ from neops_workflow_engine_client.api_response import ApiResponse
24
25
  from neops_workflow_engine_client.rest import RESTResponseType
25
26
 
26
27
 
27
- class JobApi:
28
+ class BlackboardApi:
28
29
  """NOTE: This class is auto generated by OpenAPI Generator
29
30
  Ref: https://openapi-generator.tech
30
31
 
@@ -38,7 +39,7 @@ class JobApi:
38
39
 
39
40
 
40
41
  @validate_call
41
- def job_controller_poll_job(
42
+ def blackboard_controller_poll_job(
42
43
  self,
43
44
  _request_timeout: Union[
44
45
  None,
@@ -52,8 +53,8 @@ class JobApi:
52
53
  _content_type: Optional[StrictStr] = None,
53
54
  _headers: Optional[Dict[StrictStr, Any]] = None,
54
55
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
55
- ) -> JobDefinitionDto:
56
- """job_controller_poll_job
56
+ ) -> List[JobDefinitionDto]:
57
+ """blackboard_controller_poll_job
57
58
 
58
59
 
59
60
  :param _request_timeout: timeout setting for this request. If one
@@ -78,7 +79,7 @@ class JobApi:
78
79
  :return: Returns the result object.
79
80
  """ # noqa: E501
80
81
 
81
- _param = self._job_controller_poll_job_serialize(
82
+ _param = self._blackboard_controller_poll_job_serialize(
82
83
  _request_auth=_request_auth,
83
84
  _content_type=_content_type,
84
85
  _headers=_headers,
@@ -86,7 +87,8 @@ class JobApi:
86
87
  )
87
88
 
88
89
  _response_types_map: Dict[str, Optional[str]] = {
89
- '200': "JobDefinitionDto",
90
+ '200': "List[JobDefinitionDto]",
91
+ '201': "List[JobDefinitionDto]",
90
92
  }
91
93
  response_data = self.api_client.call_api(
92
94
  *_param,
@@ -100,7 +102,7 @@ class JobApi:
100
102
 
101
103
 
102
104
  @validate_call
103
- def job_controller_poll_job_with_http_info(
105
+ def blackboard_controller_poll_job_with_http_info(
104
106
  self,
105
107
  _request_timeout: Union[
106
108
  None,
@@ -114,8 +116,8 @@ class JobApi:
114
116
  _content_type: Optional[StrictStr] = None,
115
117
  _headers: Optional[Dict[StrictStr, Any]] = None,
116
118
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
117
- ) -> ApiResponse[JobDefinitionDto]:
118
- """job_controller_poll_job
119
+ ) -> ApiResponse[List[JobDefinitionDto]]:
120
+ """blackboard_controller_poll_job
119
121
 
120
122
 
121
123
  :param _request_timeout: timeout setting for this request. If one
@@ -140,7 +142,7 @@ class JobApi:
140
142
  :return: Returns the result object.
141
143
  """ # noqa: E501
142
144
 
143
- _param = self._job_controller_poll_job_serialize(
145
+ _param = self._blackboard_controller_poll_job_serialize(
144
146
  _request_auth=_request_auth,
145
147
  _content_type=_content_type,
146
148
  _headers=_headers,
@@ -148,7 +150,8 @@ class JobApi:
148
150
  )
149
151
 
150
152
  _response_types_map: Dict[str, Optional[str]] = {
151
- '200': "JobDefinitionDto",
153
+ '200': "List[JobDefinitionDto]",
154
+ '201': "List[JobDefinitionDto]",
152
155
  }
153
156
  response_data = self.api_client.call_api(
154
157
  *_param,
@@ -162,7 +165,7 @@ class JobApi:
162
165
 
163
166
 
164
167
  @validate_call
165
- def job_controller_poll_job_without_preload_content(
168
+ def blackboard_controller_poll_job_without_preload_content(
166
169
  self,
167
170
  _request_timeout: Union[
168
171
  None,
@@ -177,7 +180,7 @@ class JobApi:
177
180
  _headers: Optional[Dict[StrictStr, Any]] = None,
178
181
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
179
182
  ) -> RESTResponseType:
180
- """job_controller_poll_job
183
+ """blackboard_controller_poll_job
181
184
 
182
185
 
183
186
  :param _request_timeout: timeout setting for this request. If one
@@ -202,7 +205,7 @@ class JobApi:
202
205
  :return: Returns the result object.
203
206
  """ # noqa: E501
204
207
 
205
- _param = self._job_controller_poll_job_serialize(
208
+ _param = self._blackboard_controller_poll_job_serialize(
206
209
  _request_auth=_request_auth,
207
210
  _content_type=_content_type,
208
211
  _headers=_headers,
@@ -210,7 +213,8 @@ class JobApi:
210
213
  )
211
214
 
212
215
  _response_types_map: Dict[str, Optional[str]] = {
213
- '200': "JobDefinitionDto",
216
+ '200': "List[JobDefinitionDto]",
217
+ '201': "List[JobDefinitionDto]",
214
218
  }
215
219
  response_data = self.api_client.call_api(
216
220
  *_param,
@@ -219,7 +223,7 @@ class JobApi:
219
223
  return response_data.response
220
224
 
221
225
 
222
- def _job_controller_poll_job_serialize(
226
+ def _blackboard_controller_poll_job_serialize(
223
227
  self,
224
228
  _request_auth,
225
229
  _content_type,
@@ -262,8 +266,8 @@ class JobApi:
262
266
  ]
263
267
 
264
268
  return self.api_client.param_serialize(
265
- method='GET',
266
- resource_path='/job',
269
+ method='POST',
270
+ resource_path='/blackboard/job',
267
271
  path_params=_path_params,
268
272
  query_params=_query_params,
269
273
  header_params=_header_params,
@@ -280,7 +284,7 @@ class JobApi:
280
284
 
281
285
 
282
286
  @validate_call
283
- def job_controller_push_job_result(
287
+ def blackboard_controller_push_job_result(
284
288
  self,
285
289
  job_result_dto: JobResultDto,
286
290
  _request_timeout: Union[
@@ -296,7 +300,7 @@ class JobApi:
296
300
  _headers: Optional[Dict[StrictStr, Any]] = None,
297
301
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
298
302
  ) -> None:
299
- """job_controller_push_job_result
303
+ """blackboard_controller_push_job_result
300
304
 
301
305
 
302
306
  :param job_result_dto: (required)
@@ -323,7 +327,7 @@ class JobApi:
323
327
  :return: Returns the result object.
324
328
  """ # noqa: E501
325
329
 
326
- _param = self._job_controller_push_job_result_serialize(
330
+ _param = self._blackboard_controller_push_job_result_serialize(
327
331
  job_result_dto=job_result_dto,
328
332
  _request_auth=_request_auth,
329
333
  _content_type=_content_type,
@@ -346,7 +350,7 @@ class JobApi:
346
350
 
347
351
 
348
352
  @validate_call
349
- def job_controller_push_job_result_with_http_info(
353
+ def blackboard_controller_push_job_result_with_http_info(
350
354
  self,
351
355
  job_result_dto: JobResultDto,
352
356
  _request_timeout: Union[
@@ -362,7 +366,7 @@ class JobApi:
362
366
  _headers: Optional[Dict[StrictStr, Any]] = None,
363
367
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
364
368
  ) -> ApiResponse[None]:
365
- """job_controller_push_job_result
369
+ """blackboard_controller_push_job_result
366
370
 
367
371
 
368
372
  :param job_result_dto: (required)
@@ -389,7 +393,7 @@ class JobApi:
389
393
  :return: Returns the result object.
390
394
  """ # noqa: E501
391
395
 
392
- _param = self._job_controller_push_job_result_serialize(
396
+ _param = self._blackboard_controller_push_job_result_serialize(
393
397
  job_result_dto=job_result_dto,
394
398
  _request_auth=_request_auth,
395
399
  _content_type=_content_type,
@@ -412,7 +416,7 @@ class JobApi:
412
416
 
413
417
 
414
418
  @validate_call
415
- def job_controller_push_job_result_without_preload_content(
419
+ def blackboard_controller_push_job_result_without_preload_content(
416
420
  self,
417
421
  job_result_dto: JobResultDto,
418
422
  _request_timeout: Union[
@@ -428,7 +432,7 @@ class JobApi:
428
432
  _headers: Optional[Dict[StrictStr, Any]] = None,
429
433
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
430
434
  ) -> RESTResponseType:
431
- """job_controller_push_job_result
435
+ """blackboard_controller_push_job_result
432
436
 
433
437
 
434
438
  :param job_result_dto: (required)
@@ -455,7 +459,7 @@ class JobApi:
455
459
  :return: Returns the result object.
456
460
  """ # noqa: E501
457
461
 
458
- _param = self._job_controller_push_job_result_serialize(
462
+ _param = self._blackboard_controller_push_job_result_serialize(
459
463
  job_result_dto=job_result_dto,
460
464
  _request_auth=_request_auth,
461
465
  _content_type=_content_type,
@@ -473,7 +477,7 @@ class JobApi:
473
477
  return response_data.response
474
478
 
475
479
 
476
- def _job_controller_push_job_result_serialize(
480
+ def _blackboard_controller_push_job_result_serialize(
477
481
  self,
478
482
  job_result_dto,
479
483
  _request_auth,
@@ -526,7 +530,7 @@ class JobApi:
526
530
 
527
531
  return self.api_client.param_serialize(
528
532
  method='POST',
529
- resource_path='/job',
533
+ resource_path='/blackboard/job/result',
530
534
  path_params=_path_params,
531
535
  query_params=_query_params,
532
536
  header_params=_header_params,
@@ -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
 
20
21
  from neops_workflow_engine_client.api_client import ApiClient, RequestSerialized
21
22
  from neops_workflow_engine_client.api_response import ApiResponse
@@ -50,7 +51,7 @@ class DefaultApi:
50
51
  _content_type: Optional[StrictStr] = None,
51
52
  _headers: Optional[Dict[StrictStr, Any]] = None,
52
53
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
53
- ) -> None:
54
+ ) -> str:
54
55
  """app_controller_get_hello
55
56
 
56
57
 
@@ -84,7 +85,7 @@ class DefaultApi:
84
85
  )
85
86
 
86
87
  _response_types_map: Dict[str, Optional[str]] = {
87
- '200': None,
88
+ '200': "str",
88
89
  }
89
90
  response_data = self.api_client.call_api(
90
91
  *_param,
@@ -112,7 +113,7 @@ class DefaultApi:
112
113
  _content_type: Optional[StrictStr] = None,
113
114
  _headers: Optional[Dict[StrictStr, Any]] = None,
114
115
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
115
- ) -> ApiResponse[None]:
116
+ ) -> ApiResponse[str]:
116
117
  """app_controller_get_hello
117
118
 
118
119
 
@@ -146,7 +147,7 @@ class DefaultApi:
146
147
  )
147
148
 
148
149
  _response_types_map: Dict[str, Optional[str]] = {
149
- '200': None,
150
+ '200': "str",
150
151
  }
151
152
  response_data = self.api_client.call_api(
152
153
  *_param,
@@ -208,7 +209,7 @@ class DefaultApi:
208
209
  )
209
210
 
210
211
  _response_types_map: Dict[str, Optional[str]] = {
211
- '200': None,
212
+ '200': "str",
212
213
  }
213
214
  response_data = self.api_client.call_api(
214
215
  *_param,
@@ -246,6 +247,13 @@ class DefaultApi:
246
247
  # process the body parameter
247
248
 
248
249
 
250
+ # set the HTTP header `Accept`
251
+ if 'Accept' not in _header_params:
252
+ _header_params['Accept'] = self.api_client.select_header_accept(
253
+ [
254
+ 'application/json'
255
+ ]
256
+ )
249
257
 
250
258
 
251
259
  # authentication setting
@@ -54,7 +54,7 @@ class FunctionBlockApi:
54
54
  _headers: Optional[Dict[StrictStr, Any]] = None,
55
55
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
56
56
  ) -> List[RegisterFunctionBlockDto]:
57
- """function_blocks_controller_find_all
57
+ """List all registered function blocks
58
58
 
59
59
 
60
60
  :param _request_timeout: timeout setting for this request. If one
@@ -116,7 +116,7 @@ class FunctionBlockApi:
116
116
  _headers: Optional[Dict[StrictStr, Any]] = None,
117
117
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
118
118
  ) -> ApiResponse[List[RegisterFunctionBlockDto]]:
119
- """function_blocks_controller_find_all
119
+ """List all registered function blocks
120
120
 
121
121
 
122
122
  :param _request_timeout: timeout setting for this request. If one
@@ -178,7 +178,7 @@ class FunctionBlockApi:
178
178
  _headers: Optional[Dict[StrictStr, Any]] = None,
179
179
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
180
180
  ) -> RESTResponseType:
181
- """function_blocks_controller_find_all
181
+ """List all registered function blocks
182
182
 
183
183
 
184
184
  :param _request_timeout: timeout setting for this request. If one
@@ -264,7 +264,7 @@ class FunctionBlockApi:
264
264
 
265
265
  return self.api_client.param_serialize(
266
266
  method='GET',
267
- resource_path='/function-blocks',
267
+ resource_path='/function-blocks/list',
268
268
  path_params=_path_params,
269
269
  query_params=_query_params,
270
270
  header_params=_header_params,
@@ -297,7 +297,7 @@ class FunctionBlockApi:
297
297
  _headers: Optional[Dict[StrictStr, Any]] = None,
298
298
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
299
299
  ) -> RegisterFunctionBlockDto:
300
- """function_blocks_controller_find_one
300
+ """Get a function block by id
301
301
 
302
302
 
303
303
  :param id: (required)
@@ -363,7 +363,7 @@ class FunctionBlockApi:
363
363
  _headers: Optional[Dict[StrictStr, Any]] = None,
364
364
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
365
365
  ) -> ApiResponse[RegisterFunctionBlockDto]:
366
- """function_blocks_controller_find_one
366
+ """Get a function block by id
367
367
 
368
368
 
369
369
  :param id: (required)
@@ -429,7 +429,7 @@ class FunctionBlockApi:
429
429
  _headers: Optional[Dict[StrictStr, Any]] = None,
430
430
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
431
431
  ) -> RESTResponseType:
432
- """function_blocks_controller_find_one
432
+ """Get a function block by id
433
433
 
434
434
 
435
435
  :param id: (required)
@@ -554,7 +554,7 @@ class FunctionBlockApi:
554
554
  _headers: Optional[Dict[StrictStr, Any]] = None,
555
555
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
556
556
  ) -> None:
557
- """function_blocks_controller_register
557
+ """Register a function block
558
558
 
559
559
 
560
560
  :param register_function_block_dto: (required)
@@ -620,7 +620,7 @@ class FunctionBlockApi:
620
620
  _headers: Optional[Dict[StrictStr, Any]] = None,
621
621
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
622
622
  ) -> ApiResponse[None]:
623
- """function_blocks_controller_register
623
+ """Register a function block
624
624
 
625
625
 
626
626
  :param register_function_block_dto: (required)
@@ -686,7 +686,7 @@ class FunctionBlockApi:
686
686
  _headers: Optional[Dict[StrictStr, Any]] = None,
687
687
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
688
688
  ) -> RESTResponseType:
689
- """function_blocks_controller_register
689
+ """Register a function block
690
690
 
691
691
 
692
692
  :param register_function_block_dto: (required)
@@ -784,7 +784,7 @@ class FunctionBlockApi:
784
784
 
785
785
  return self.api_client.param_serialize(
786
786
  method='POST',
787
- resource_path='/function-blocks',
787
+ resource_path='/function-blocks/register',
788
788
  path_params=_path_params,
789
789
  query_params=_query_params,
790
790
  header_params=_header_params,
@@ -817,7 +817,7 @@ class FunctionBlockApi:
817
817
  _headers: Optional[Dict[StrictStr, Any]] = None,
818
818
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
819
819
  ) -> None:
820
- """function_blocks_controller_unregister
820
+ """Unregister a function block
821
821
 
822
822
 
823
823
  :param id: (required)
@@ -883,7 +883,7 @@ class FunctionBlockApi:
883
883
  _headers: Optional[Dict[StrictStr, Any]] = None,
884
884
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
885
885
  ) -> ApiResponse[None]:
886
- """function_blocks_controller_unregister
886
+ """Unregister a function block
887
887
 
888
888
 
889
889
  :param id: (required)
@@ -949,7 +949,7 @@ class FunctionBlockApi:
949
949
  _headers: Optional[Dict[StrictStr, Any]] = None,
950
950
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
951
951
  ) -> RESTResponseType:
952
- """function_blocks_controller_unregister
952
+ """Unregister a function block
953
953
 
954
954
 
955
955
  :param id: (required)
@@ -52,7 +52,7 @@ class HealthApi:
52
52
  _headers: Optional[Dict[StrictStr, Any]] = None,
53
53
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
54
54
  ) -> HealthResponse:
55
- """health_controller_healthy
55
+ """Check health of task engine
56
56
 
57
57
 
58
58
  :param _request_timeout: timeout setting for this request. If one
@@ -114,7 +114,7 @@ class HealthApi:
114
114
  _headers: Optional[Dict[StrictStr, Any]] = None,
115
115
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
116
116
  ) -> ApiResponse[HealthResponse]:
117
- """health_controller_healthy
117
+ """Check health of task engine
118
118
 
119
119
 
120
120
  :param _request_timeout: timeout setting for this request. If one
@@ -176,7 +176,7 @@ class HealthApi:
176
176
  _headers: Optional[Dict[StrictStr, Any]] = None,
177
177
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
178
178
  ) -> RESTResponseType:
179
- """health_controller_healthy
179
+ """Check health of task engine
180
180
 
181
181
 
182
182
  :param _request_timeout: timeout setting for this request. If one