neops_workflow_engine_client 0.26.0__tar.gz → 0.27.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.
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/PKG-INFO +3 -2
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/README.md +2 -1
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/__init__.py +2 -1
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/api/health_api.py +13 -5
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/api_client.py +1 -1
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/configuration.py +1 -1
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/models/__init__.py +1 -0
- neops_workflow_engine_client-0.27.0/neops_workflow_engine_client/models/health_response.py +87 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/pyproject.toml +1 -1
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/api/__init__.py +0 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/api/default_api.py +0 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/api/function_block_api.py +0 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/api_response.py +0 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/exceptions.py +0 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.0}/neops_workflow_engine_client/py.typed +0 -0
- {neops_workflow_engine_client-0.26.0 → neops_workflow_engine_client-0.27.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.
|
|
3
|
+
Version: 0.27.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
|
+
- Package version: 0.27.0
|
|
33
33
|
- Generator version: 7.9.0
|
|
34
34
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
35
35
|
|
|
@@ -116,6 +116,7 @@ Class | Method | HTTP request | Description
|
|
|
116
116
|
|
|
117
117
|
## Documentation For Models
|
|
118
118
|
|
|
119
|
+
- [HealthResponse](docs/HealthResponse.md)
|
|
119
120
|
|
|
120
121
|
|
|
121
122
|
<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.
|
|
7
|
+
- Package version: 0.27.0
|
|
8
8
|
- Generator version: 7.9.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
|
|
@@ -91,6 +91,7 @@ Class | Method | HTTP request | Description
|
|
|
91
91
|
|
|
92
92
|
## Documentation For Models
|
|
93
93
|
|
|
94
|
+
- [HealthResponse](docs/HealthResponse.md)
|
|
94
95
|
|
|
95
96
|
|
|
96
97
|
<a id="documentation-for-authorization"></a>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "0.
|
|
17
|
+
__version__ = "0.27.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from neops_workflow_engine_client.api.default_api import DefaultApi
|
|
@@ -33,3 +33,4 @@ from neops_workflow_engine_client.exceptions import ApiAttributeError
|
|
|
33
33
|
from neops_workflow_engine_client.exceptions import ApiException
|
|
34
34
|
|
|
35
35
|
# import models into sdk package
|
|
36
|
+
from neops_workflow_engine_client.models.health_response import HealthResponse
|
|
@@ -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 neops_workflow_engine_client.models.health_response import HealthResponse
|
|
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 HealthApi:
|
|
|
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
|
-
) ->
|
|
54
|
+
) -> HealthResponse:
|
|
54
55
|
"""health_controller_healthy
|
|
55
56
|
|
|
56
57
|
|
|
@@ -84,7 +85,7 @@ class HealthApi:
|
|
|
84
85
|
)
|
|
85
86
|
|
|
86
87
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
87
|
-
'200':
|
|
88
|
+
'200': "HealthResponse",
|
|
88
89
|
}
|
|
89
90
|
response_data = self.api_client.call_api(
|
|
90
91
|
*_param,
|
|
@@ -112,7 +113,7 @@ class HealthApi:
|
|
|
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[
|
|
116
|
+
) -> ApiResponse[HealthResponse]:
|
|
116
117
|
"""health_controller_healthy
|
|
117
118
|
|
|
118
119
|
|
|
@@ -146,7 +147,7 @@ class HealthApi:
|
|
|
146
147
|
)
|
|
147
148
|
|
|
148
149
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
149
|
-
'200':
|
|
150
|
+
'200': "HealthResponse",
|
|
150
151
|
}
|
|
151
152
|
response_data = self.api_client.call_api(
|
|
152
153
|
*_param,
|
|
@@ -208,7 +209,7 @@ class HealthApi:
|
|
|
208
209
|
)
|
|
209
210
|
|
|
210
211
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
211
|
-
'200':
|
|
212
|
+
'200': "HealthResponse",
|
|
212
213
|
}
|
|
213
214
|
response_data = self.api_client.call_api(
|
|
214
215
|
*_param,
|
|
@@ -246,6 +247,13 @@ class HealthApi:
|
|
|
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
|
|
@@ -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.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/0.27.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.
|
|
387
|
+
"SDK Package Version: 0.27.0".\
|
|
388
388
|
format(env=sys.platform, pyversion=sys.version)
|
|
389
389
|
|
|
390
390
|
def get_host_settings(self):
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Neops Workflow Engine
|
|
5
|
+
|
|
6
|
+
Neops workflow engine API documentation
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.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, StrictBool
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class HealthResponse(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
HealthResponse
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
healthy: StrictBool
|
|
30
|
+
__properties: ClassVar[List[str]] = ["healthy"]
|
|
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 HealthResponse 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 HealthResponse 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
|
+
"healthy": obj.get("healthy")
|
|
84
|
+
})
|
|
85
|
+
return _obj
|
|
86
|
+
|
|
87
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|