aind-metadata-service-client 2.0.0__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aind-metadata-service-client might be problematic. Click here for more details.
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/PKG-INFO +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/README.md +8 -7
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/__init__.py +2 -2
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/api/default_api.py +264 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/api/healthcheck_api.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/api_client.py +2 -2
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/configuration.py +3 -3
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/exceptions.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/models/__init__.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/models/health_check.py +3 -3
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/models/http_validation_error.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/models/slims_workflow.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/models/validation_error.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/models/validation_error_loc_inner.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/rest.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client.egg-info/PKG-INFO +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/pyproject.toml +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/setup.py +2 -2
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_default_api.py +8 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_health_check.py +2 -2
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_healthcheck_api.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_http_validation_error.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_slims_workflow.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_validation_error.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_validation_error_loc_inner.py +1 -1
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/api/__init__.py +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/api_response.py +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client/py.typed +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client.egg-info/SOURCES.txt +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client.egg-info/dependency_links.txt +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client.egg-info/requires.txt +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/aind_metadata_service_client.egg-info/top_level.txt +0 -0
- {aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/setup.cfg +0 -0
|
@@ -8,8 +8,8 @@ Service to pull data from example backend.
|
|
|
8
8
|
|
|
9
9
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
10
10
|
|
|
11
|
-
- API version: 2.
|
|
12
|
-
- Package version: 2.
|
|
11
|
+
- API version: 2.1.0
|
|
12
|
+
- Package version: 2.1.0
|
|
13
13
|
- Generator version: 7.13.0
|
|
14
14
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
15
15
|
|
|
@@ -72,15 +72,15 @@ configuration = aind_metadata_service_client.Configuration(
|
|
|
72
72
|
with aind_metadata_service_client.ApiClient(configuration) as api_client:
|
|
73
73
|
# Create an instance of the API class
|
|
74
74
|
api_instance = aind_metadata_service_client.DefaultApi(api_client)
|
|
75
|
-
subject_id = '
|
|
75
|
+
subject_id = '823508' # str |
|
|
76
76
|
|
|
77
77
|
try:
|
|
78
|
-
# Get
|
|
79
|
-
api_response = api_instance.
|
|
80
|
-
print("The response of DefaultApi->
|
|
78
|
+
# Get Procedures
|
|
79
|
+
api_response = api_instance.get_procedures(subject_id)
|
|
80
|
+
print("The response of DefaultApi->get_procedures:\n")
|
|
81
81
|
pprint(api_response)
|
|
82
82
|
except ApiException as e:
|
|
83
|
-
print("Exception when calling DefaultApi->
|
|
83
|
+
print("Exception when calling DefaultApi->get_procedures: %s\n" % e)
|
|
84
84
|
|
|
85
85
|
```
|
|
86
86
|
|
|
@@ -90,6 +90,7 @@ All URIs are relative to *http://localhost*
|
|
|
90
90
|
|
|
91
91
|
Class | Method | HTTP request | Description
|
|
92
92
|
------------ | ------------- | ------------- | -------------
|
|
93
|
+
*DefaultApi* | [**get_procedures**](docs/DefaultApi.md#get_procedures) | **GET** /api/v2/procedures/{subject_id} | Get Procedures
|
|
93
94
|
*DefaultApi* | [**get_subject**](docs/DefaultApi.md#get_subject) | **GET** /api/v2/subject/{subject_id} | Get Subject
|
|
94
95
|
*DefaultApi* | [**get_v1_bergamo_session**](docs/DefaultApi.md#get_v1_bergamo_session) | **POST** /bergamo_session | Get V1 Bergamo Session
|
|
95
96
|
*DefaultApi* | [**get_v1_funding**](docs/DefaultApi.md#get_v1_funding) | **GET** /funding/{project_name} | Get V1 Funding
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
## aind-metadata-service Service to pull data from example backend.
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 2.
|
|
10
|
+
The version of the OpenAPI document: 2.1.0
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
13
|
Do not edit the class manually.
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "2.
|
|
17
|
+
__version__ = "2.1.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from aind_metadata_service_client.api.default_api import DefaultApi
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -39,6 +39,269 @@ class DefaultApi:
|
|
|
39
39
|
self.api_client = api_client
|
|
40
40
|
|
|
41
41
|
|
|
42
|
+
@validate_call
|
|
43
|
+
def get_procedures(
|
|
44
|
+
self,
|
|
45
|
+
subject_id: StrictStr,
|
|
46
|
+
_request_timeout: Union[
|
|
47
|
+
None,
|
|
48
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
49
|
+
Tuple[
|
|
50
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
52
|
+
]
|
|
53
|
+
] = None,
|
|
54
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
55
|
+
_content_type: Optional[StrictStr] = None,
|
|
56
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
58
|
+
) -> object:
|
|
59
|
+
"""Get Procedures
|
|
60
|
+
|
|
61
|
+
## Procedures Return Procedure metadata.
|
|
62
|
+
|
|
63
|
+
:param subject_id: (required)
|
|
64
|
+
:type subject_id: str
|
|
65
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
66
|
+
number provided, it will be total request
|
|
67
|
+
timeout. It can also be a pair (tuple) of
|
|
68
|
+
(connection, read) timeouts.
|
|
69
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
70
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
71
|
+
request; this effectively ignores the
|
|
72
|
+
authentication in the spec for a single request.
|
|
73
|
+
:type _request_auth: dict, optional
|
|
74
|
+
:param _content_type: force content-type for the request.
|
|
75
|
+
:type _content_type: str, Optional
|
|
76
|
+
:param _headers: set to override the headers for a single
|
|
77
|
+
request; this effectively ignores the headers
|
|
78
|
+
in the spec for a single request.
|
|
79
|
+
:type _headers: dict, optional
|
|
80
|
+
:param _host_index: set to override the host_index for a single
|
|
81
|
+
request; this effectively ignores the host_index
|
|
82
|
+
in the spec for a single request.
|
|
83
|
+
:type _host_index: int, optional
|
|
84
|
+
:return: Returns the result object.
|
|
85
|
+
""" # noqa: E501
|
|
86
|
+
|
|
87
|
+
_param = self._get_procedures_serialize(
|
|
88
|
+
subject_id=subject_id,
|
|
89
|
+
_request_auth=_request_auth,
|
|
90
|
+
_content_type=_content_type,
|
|
91
|
+
_headers=_headers,
|
|
92
|
+
_host_index=_host_index
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
96
|
+
'200': "object",
|
|
97
|
+
'422': "HTTPValidationError",
|
|
98
|
+
}
|
|
99
|
+
response_data = self.api_client.call_api(
|
|
100
|
+
*_param,
|
|
101
|
+
_request_timeout=_request_timeout
|
|
102
|
+
)
|
|
103
|
+
response_data.read()
|
|
104
|
+
return self.api_client.response_deserialize(
|
|
105
|
+
response_data=response_data,
|
|
106
|
+
response_types_map=_response_types_map,
|
|
107
|
+
).data
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
@validate_call
|
|
111
|
+
def get_procedures_with_http_info(
|
|
112
|
+
self,
|
|
113
|
+
subject_id: StrictStr,
|
|
114
|
+
_request_timeout: Union[
|
|
115
|
+
None,
|
|
116
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
117
|
+
Tuple[
|
|
118
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
120
|
+
]
|
|
121
|
+
] = None,
|
|
122
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
123
|
+
_content_type: Optional[StrictStr] = None,
|
|
124
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126
|
+
) -> ApiResponse[object]:
|
|
127
|
+
"""Get Procedures
|
|
128
|
+
|
|
129
|
+
## Procedures Return Procedure metadata.
|
|
130
|
+
|
|
131
|
+
:param subject_id: (required)
|
|
132
|
+
:type subject_id: str
|
|
133
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
134
|
+
number provided, it will be total request
|
|
135
|
+
timeout. It can also be a pair (tuple) of
|
|
136
|
+
(connection, read) timeouts.
|
|
137
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
138
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
139
|
+
request; this effectively ignores the
|
|
140
|
+
authentication in the spec for a single request.
|
|
141
|
+
:type _request_auth: dict, optional
|
|
142
|
+
:param _content_type: force content-type for the request.
|
|
143
|
+
:type _content_type: str, Optional
|
|
144
|
+
:param _headers: set to override the headers for a single
|
|
145
|
+
request; this effectively ignores the headers
|
|
146
|
+
in the spec for a single request.
|
|
147
|
+
:type _headers: dict, optional
|
|
148
|
+
:param _host_index: set to override the host_index for a single
|
|
149
|
+
request; this effectively ignores the host_index
|
|
150
|
+
in the spec for a single request.
|
|
151
|
+
:type _host_index: int, optional
|
|
152
|
+
:return: Returns the result object.
|
|
153
|
+
""" # noqa: E501
|
|
154
|
+
|
|
155
|
+
_param = self._get_procedures_serialize(
|
|
156
|
+
subject_id=subject_id,
|
|
157
|
+
_request_auth=_request_auth,
|
|
158
|
+
_content_type=_content_type,
|
|
159
|
+
_headers=_headers,
|
|
160
|
+
_host_index=_host_index
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
164
|
+
'200': "object",
|
|
165
|
+
'422': "HTTPValidationError",
|
|
166
|
+
}
|
|
167
|
+
response_data = self.api_client.call_api(
|
|
168
|
+
*_param,
|
|
169
|
+
_request_timeout=_request_timeout
|
|
170
|
+
)
|
|
171
|
+
response_data.read()
|
|
172
|
+
return self.api_client.response_deserialize(
|
|
173
|
+
response_data=response_data,
|
|
174
|
+
response_types_map=_response_types_map,
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
@validate_call
|
|
179
|
+
def get_procedures_without_preload_content(
|
|
180
|
+
self,
|
|
181
|
+
subject_id: StrictStr,
|
|
182
|
+
_request_timeout: Union[
|
|
183
|
+
None,
|
|
184
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
185
|
+
Tuple[
|
|
186
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
187
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
188
|
+
]
|
|
189
|
+
] = None,
|
|
190
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
191
|
+
_content_type: Optional[StrictStr] = None,
|
|
192
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
193
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
194
|
+
) -> RESTResponseType:
|
|
195
|
+
"""Get Procedures
|
|
196
|
+
|
|
197
|
+
## Procedures Return Procedure metadata.
|
|
198
|
+
|
|
199
|
+
:param subject_id: (required)
|
|
200
|
+
:type subject_id: str
|
|
201
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
202
|
+
number provided, it will be total request
|
|
203
|
+
timeout. It can also be a pair (tuple) of
|
|
204
|
+
(connection, read) timeouts.
|
|
205
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
206
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
207
|
+
request; this effectively ignores the
|
|
208
|
+
authentication in the spec for a single request.
|
|
209
|
+
:type _request_auth: dict, optional
|
|
210
|
+
:param _content_type: force content-type for the request.
|
|
211
|
+
:type _content_type: str, Optional
|
|
212
|
+
:param _headers: set to override the headers for a single
|
|
213
|
+
request; this effectively ignores the headers
|
|
214
|
+
in the spec for a single request.
|
|
215
|
+
:type _headers: dict, optional
|
|
216
|
+
:param _host_index: set to override the host_index for a single
|
|
217
|
+
request; this effectively ignores the host_index
|
|
218
|
+
in the spec for a single request.
|
|
219
|
+
:type _host_index: int, optional
|
|
220
|
+
:return: Returns the result object.
|
|
221
|
+
""" # noqa: E501
|
|
222
|
+
|
|
223
|
+
_param = self._get_procedures_serialize(
|
|
224
|
+
subject_id=subject_id,
|
|
225
|
+
_request_auth=_request_auth,
|
|
226
|
+
_content_type=_content_type,
|
|
227
|
+
_headers=_headers,
|
|
228
|
+
_host_index=_host_index
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
232
|
+
'200': "object",
|
|
233
|
+
'422': "HTTPValidationError",
|
|
234
|
+
}
|
|
235
|
+
response_data = self.api_client.call_api(
|
|
236
|
+
*_param,
|
|
237
|
+
_request_timeout=_request_timeout
|
|
238
|
+
)
|
|
239
|
+
return response_data.response
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
def _get_procedures_serialize(
|
|
243
|
+
self,
|
|
244
|
+
subject_id,
|
|
245
|
+
_request_auth,
|
|
246
|
+
_content_type,
|
|
247
|
+
_headers,
|
|
248
|
+
_host_index,
|
|
249
|
+
) -> RequestSerialized:
|
|
250
|
+
|
|
251
|
+
_host = None
|
|
252
|
+
|
|
253
|
+
_collection_formats: Dict[str, str] = {
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
_path_params: Dict[str, str] = {}
|
|
257
|
+
_query_params: List[Tuple[str, str]] = []
|
|
258
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
259
|
+
_form_params: List[Tuple[str, str]] = []
|
|
260
|
+
_files: Dict[
|
|
261
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
262
|
+
] = {}
|
|
263
|
+
_body_params: Optional[bytes] = None
|
|
264
|
+
|
|
265
|
+
# process the path parameters
|
|
266
|
+
if subject_id is not None:
|
|
267
|
+
_path_params['subject_id'] = subject_id
|
|
268
|
+
# process the query parameters
|
|
269
|
+
# process the header parameters
|
|
270
|
+
# process the form parameters
|
|
271
|
+
# process the body parameter
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
# set the HTTP header `Accept`
|
|
275
|
+
if 'Accept' not in _header_params:
|
|
276
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
277
|
+
[
|
|
278
|
+
'application/json'
|
|
279
|
+
]
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
# authentication setting
|
|
284
|
+
_auth_settings: List[str] = [
|
|
285
|
+
]
|
|
286
|
+
|
|
287
|
+
return self.api_client.param_serialize(
|
|
288
|
+
method='GET',
|
|
289
|
+
resource_path='/api/v2/procedures/{subject_id}',
|
|
290
|
+
path_params=_path_params,
|
|
291
|
+
query_params=_query_params,
|
|
292
|
+
header_params=_header_params,
|
|
293
|
+
body=_body_params,
|
|
294
|
+
post_params=_form_params,
|
|
295
|
+
files=_files,
|
|
296
|
+
auth_settings=_auth_settings,
|
|
297
|
+
collection_formats=_collection_formats,
|
|
298
|
+
_host=_host,
|
|
299
|
+
_request_auth=_request_auth
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
42
305
|
@validate_call
|
|
43
306
|
def get_subject(
|
|
44
307
|
self,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -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/2.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/2.1.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -500,8 +500,8 @@ class Configuration:
|
|
|
500
500
|
return "Python SDK Debug Report:\n"\
|
|
501
501
|
"OS: {env}\n"\
|
|
502
502
|
"Python Version: {pyversion}\n"\
|
|
503
|
-
"Version of the API: 2.
|
|
504
|
-
"SDK Package Version: 2.
|
|
503
|
+
"Version of the API: 2.1.0\n"\
|
|
504
|
+
"SDK Package Version: 2.1.0".\
|
|
505
505
|
format(env=sys.platform, pyversion=sys.version)
|
|
506
506
|
|
|
507
507
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## aind-metadata-service Service to pull data from example backend.
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 2.
|
|
9
|
+
The version of the OpenAPI document: 2.1.0
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,7 +27,7 @@ class HealthCheck(BaseModel):
|
|
|
27
27
|
Response model to validate and return when performing a health check.
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
status: Optional[StrictStr] = 'OK'
|
|
30
|
-
service_version: Optional[StrictStr] = '2.
|
|
30
|
+
service_version: Optional[StrictStr] = '2.1.0'
|
|
31
31
|
__properties: ClassVar[List[str]] = ["status", "service_version"]
|
|
32
32
|
|
|
33
33
|
@field_validator('status')
|
|
@@ -92,7 +92,7 @@ class HealthCheck(BaseModel):
|
|
|
92
92
|
|
|
93
93
|
_obj = cls.model_validate({
|
|
94
94
|
"status": obj.get("status") if obj.get("status") is not None else 'OK',
|
|
95
|
-
"service_version": obj.get("service_version") if obj.get("service_version") is not None else '2.
|
|
95
|
+
"service_version": obj.get("service_version") if obj.get("service_version") is not None else '2.1.0'
|
|
96
96
|
})
|
|
97
97
|
return _obj
|
|
98
98
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -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 = "aind-metadata-service-client"
|
|
24
|
-
VERSION = "2.
|
|
24
|
+
VERSION = "2.1.0"
|
|
25
25
|
PYTHON_REQUIRES = ">= 3.9"
|
|
26
26
|
REQUIRES = [
|
|
27
27
|
"urllib3 >= 2.1.0, < 3.0.0",
|
{aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_default_api.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,6 +26,13 @@ class TestDefaultApi(unittest.TestCase):
|
|
|
26
26
|
def tearDown(self) -> None:
|
|
27
27
|
pass
|
|
28
28
|
|
|
29
|
+
def test_get_procedures(self) -> None:
|
|
30
|
+
"""Test case for get_procedures
|
|
31
|
+
|
|
32
|
+
Get Procedures
|
|
33
|
+
"""
|
|
34
|
+
pass
|
|
35
|
+
|
|
29
36
|
def test_get_subject(self) -> None:
|
|
30
37
|
"""Test case for get_subject
|
|
31
38
|
|
{aind_metadata_service_client-2.0.0 → aind_metadata_service_client-2.1.0}/test/test_health_check.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -36,7 +36,7 @@ class TestHealthCheck(unittest.TestCase):
|
|
|
36
36
|
if include_optional:
|
|
37
37
|
return HealthCheck(
|
|
38
38
|
status = 'OK',
|
|
39
|
-
service_version = '2.
|
|
39
|
+
service_version = '2.1.0'
|
|
40
40
|
)
|
|
41
41
|
else:
|
|
42
42
|
return HealthCheck(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## aind-metadata-service Service to pull data from example backend.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|