aind-metadata-service-async-client 2.1.2__py3-none-any.whl → 2.2.1__py3-none-any.whl
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-async-client might be problematic. Click here for more details.
- aind_metadata_service_async_client/__init__.py +2 -2
- aind_metadata_service_async_client/api/default_api.py +509 -1
- aind_metadata_service_async_client/api/healthcheck_api.py +1 -1
- aind_metadata_service_async_client/api_client.py +2 -2
- aind_metadata_service_async_client/configuration.py +3 -3
- aind_metadata_service_async_client/exceptions.py +1 -1
- aind_metadata_service_async_client/models/__init__.py +1 -1
- aind_metadata_service_async_client/models/health_check.py +3 -3
- aind_metadata_service_async_client/models/http_validation_error.py +1 -1
- aind_metadata_service_async_client/models/slims_workflow.py +1 -1
- aind_metadata_service_async_client/models/validation_error.py +1 -1
- aind_metadata_service_async_client/models/validation_error_loc_inner.py +1 -1
- aind_metadata_service_async_client/rest.py +1 -1
- {aind_metadata_service_async_client-2.1.2.dist-info → aind_metadata_service_async_client-2.2.1.dist-info}/METADATA +1 -1
- aind_metadata_service_async_client-2.2.1.dist-info/RECORD +20 -0
- aind_metadata_service_async_client-2.1.2.dist-info/RECORD +0 -20
- {aind_metadata_service_async_client-2.1.2.dist-info → aind_metadata_service_async_client-2.2.1.dist-info}/WHEEL +0 -0
- {aind_metadata_service_async_client-2.1.2.dist-info → aind_metadata_service_async_client-2.2.1.dist-info}/top_level.txt +0 -0
|
@@ -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.1
|
|
10
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
17
|
+
__version__ = "2.2.1"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from aind_metadata_service_async_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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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
|
+
async def get_funding(
|
|
44
|
+
self,
|
|
45
|
+
project_name: 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 Funding
|
|
60
|
+
|
|
61
|
+
## Funding Return Funding metadata.
|
|
62
|
+
|
|
63
|
+
:param project_name: (required)
|
|
64
|
+
:type project_name: 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_funding_serialize(
|
|
88
|
+
project_name=project_name,
|
|
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 = await self.api_client.call_api(
|
|
100
|
+
*_param,
|
|
101
|
+
_request_timeout=_request_timeout
|
|
102
|
+
)
|
|
103
|
+
await 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
|
+
async def get_funding_with_http_info(
|
|
112
|
+
self,
|
|
113
|
+
project_name: 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 Funding
|
|
128
|
+
|
|
129
|
+
## Funding Return Funding metadata.
|
|
130
|
+
|
|
131
|
+
:param project_name: (required)
|
|
132
|
+
:type project_name: 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_funding_serialize(
|
|
156
|
+
project_name=project_name,
|
|
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 = await self.api_client.call_api(
|
|
168
|
+
*_param,
|
|
169
|
+
_request_timeout=_request_timeout
|
|
170
|
+
)
|
|
171
|
+
await 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
|
+
async def get_funding_without_preload_content(
|
|
180
|
+
self,
|
|
181
|
+
project_name: 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 Funding
|
|
196
|
+
|
|
197
|
+
## Funding Return Funding metadata.
|
|
198
|
+
|
|
199
|
+
:param project_name: (required)
|
|
200
|
+
:type project_name: 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_funding_serialize(
|
|
224
|
+
project_name=project_name,
|
|
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 = await self.api_client.call_api(
|
|
236
|
+
*_param,
|
|
237
|
+
_request_timeout=_request_timeout
|
|
238
|
+
)
|
|
239
|
+
return response_data.response
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
def _get_funding_serialize(
|
|
243
|
+
self,
|
|
244
|
+
project_name,
|
|
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 project_name is not None:
|
|
267
|
+
_path_params['project_name'] = project_name
|
|
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/funding/{project_name}',
|
|
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
|
async def get_procedures(
|
|
44
307
|
self,
|
|
@@ -302,6 +565,251 @@ class DefaultApi:
|
|
|
302
565
|
|
|
303
566
|
|
|
304
567
|
|
|
568
|
+
@validate_call
|
|
569
|
+
async def get_project_names(
|
|
570
|
+
self,
|
|
571
|
+
_request_timeout: Union[
|
|
572
|
+
None,
|
|
573
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
574
|
+
Tuple[
|
|
575
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
576
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
577
|
+
]
|
|
578
|
+
] = None,
|
|
579
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
580
|
+
_content_type: Optional[StrictStr] = None,
|
|
581
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
582
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
583
|
+
) -> object:
|
|
584
|
+
"""Get Project Names
|
|
585
|
+
|
|
586
|
+
Get a list of project names from the Smartsheet API.
|
|
587
|
+
|
|
588
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
589
|
+
number provided, it will be total request
|
|
590
|
+
timeout. It can also be a pair (tuple) of
|
|
591
|
+
(connection, read) timeouts.
|
|
592
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
593
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
594
|
+
request; this effectively ignores the
|
|
595
|
+
authentication in the spec for a single request.
|
|
596
|
+
:type _request_auth: dict, optional
|
|
597
|
+
:param _content_type: force content-type for the request.
|
|
598
|
+
:type _content_type: str, Optional
|
|
599
|
+
:param _headers: set to override the headers for a single
|
|
600
|
+
request; this effectively ignores the headers
|
|
601
|
+
in the spec for a single request.
|
|
602
|
+
:type _headers: dict, optional
|
|
603
|
+
:param _host_index: set to override the host_index for a single
|
|
604
|
+
request; this effectively ignores the host_index
|
|
605
|
+
in the spec for a single request.
|
|
606
|
+
:type _host_index: int, optional
|
|
607
|
+
:return: Returns the result object.
|
|
608
|
+
""" # noqa: E501
|
|
609
|
+
|
|
610
|
+
_param = self._get_project_names_serialize(
|
|
611
|
+
_request_auth=_request_auth,
|
|
612
|
+
_content_type=_content_type,
|
|
613
|
+
_headers=_headers,
|
|
614
|
+
_host_index=_host_index
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
618
|
+
'200': "object",
|
|
619
|
+
}
|
|
620
|
+
response_data = await self.api_client.call_api(
|
|
621
|
+
*_param,
|
|
622
|
+
_request_timeout=_request_timeout
|
|
623
|
+
)
|
|
624
|
+
await response_data.read()
|
|
625
|
+
return self.api_client.response_deserialize(
|
|
626
|
+
response_data=response_data,
|
|
627
|
+
response_types_map=_response_types_map,
|
|
628
|
+
).data
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
@validate_call
|
|
632
|
+
async def get_project_names_with_http_info(
|
|
633
|
+
self,
|
|
634
|
+
_request_timeout: Union[
|
|
635
|
+
None,
|
|
636
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
637
|
+
Tuple[
|
|
638
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
639
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
640
|
+
]
|
|
641
|
+
] = None,
|
|
642
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
643
|
+
_content_type: Optional[StrictStr] = None,
|
|
644
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
645
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
646
|
+
) -> ApiResponse[object]:
|
|
647
|
+
"""Get Project Names
|
|
648
|
+
|
|
649
|
+
Get a list of project names from the Smartsheet API.
|
|
650
|
+
|
|
651
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
652
|
+
number provided, it will be total request
|
|
653
|
+
timeout. It can also be a pair (tuple) of
|
|
654
|
+
(connection, read) timeouts.
|
|
655
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
656
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
657
|
+
request; this effectively ignores the
|
|
658
|
+
authentication in the spec for a single request.
|
|
659
|
+
:type _request_auth: dict, optional
|
|
660
|
+
:param _content_type: force content-type for the request.
|
|
661
|
+
:type _content_type: str, Optional
|
|
662
|
+
:param _headers: set to override the headers for a single
|
|
663
|
+
request; this effectively ignores the headers
|
|
664
|
+
in the spec for a single request.
|
|
665
|
+
:type _headers: dict, optional
|
|
666
|
+
:param _host_index: set to override the host_index for a single
|
|
667
|
+
request; this effectively ignores the host_index
|
|
668
|
+
in the spec for a single request.
|
|
669
|
+
:type _host_index: int, optional
|
|
670
|
+
:return: Returns the result object.
|
|
671
|
+
""" # noqa: E501
|
|
672
|
+
|
|
673
|
+
_param = self._get_project_names_serialize(
|
|
674
|
+
_request_auth=_request_auth,
|
|
675
|
+
_content_type=_content_type,
|
|
676
|
+
_headers=_headers,
|
|
677
|
+
_host_index=_host_index
|
|
678
|
+
)
|
|
679
|
+
|
|
680
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
681
|
+
'200': "object",
|
|
682
|
+
}
|
|
683
|
+
response_data = await self.api_client.call_api(
|
|
684
|
+
*_param,
|
|
685
|
+
_request_timeout=_request_timeout
|
|
686
|
+
)
|
|
687
|
+
await response_data.read()
|
|
688
|
+
return self.api_client.response_deserialize(
|
|
689
|
+
response_data=response_data,
|
|
690
|
+
response_types_map=_response_types_map,
|
|
691
|
+
)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
@validate_call
|
|
695
|
+
async def get_project_names_without_preload_content(
|
|
696
|
+
self,
|
|
697
|
+
_request_timeout: Union[
|
|
698
|
+
None,
|
|
699
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
700
|
+
Tuple[
|
|
701
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
702
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
703
|
+
]
|
|
704
|
+
] = None,
|
|
705
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
706
|
+
_content_type: Optional[StrictStr] = None,
|
|
707
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
708
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
709
|
+
) -> RESTResponseType:
|
|
710
|
+
"""Get Project Names
|
|
711
|
+
|
|
712
|
+
Get a list of project names from the Smartsheet API.
|
|
713
|
+
|
|
714
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
715
|
+
number provided, it will be total request
|
|
716
|
+
timeout. It can also be a pair (tuple) of
|
|
717
|
+
(connection, read) timeouts.
|
|
718
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
719
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
720
|
+
request; this effectively ignores the
|
|
721
|
+
authentication in the spec for a single request.
|
|
722
|
+
:type _request_auth: dict, optional
|
|
723
|
+
:param _content_type: force content-type for the request.
|
|
724
|
+
:type _content_type: str, Optional
|
|
725
|
+
:param _headers: set to override the headers for a single
|
|
726
|
+
request; this effectively ignores the headers
|
|
727
|
+
in the spec for a single request.
|
|
728
|
+
:type _headers: dict, optional
|
|
729
|
+
:param _host_index: set to override the host_index for a single
|
|
730
|
+
request; this effectively ignores the host_index
|
|
731
|
+
in the spec for a single request.
|
|
732
|
+
:type _host_index: int, optional
|
|
733
|
+
:return: Returns the result object.
|
|
734
|
+
""" # noqa: E501
|
|
735
|
+
|
|
736
|
+
_param = self._get_project_names_serialize(
|
|
737
|
+
_request_auth=_request_auth,
|
|
738
|
+
_content_type=_content_type,
|
|
739
|
+
_headers=_headers,
|
|
740
|
+
_host_index=_host_index
|
|
741
|
+
)
|
|
742
|
+
|
|
743
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
744
|
+
'200': "object",
|
|
745
|
+
}
|
|
746
|
+
response_data = await self.api_client.call_api(
|
|
747
|
+
*_param,
|
|
748
|
+
_request_timeout=_request_timeout
|
|
749
|
+
)
|
|
750
|
+
return response_data.response
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
def _get_project_names_serialize(
|
|
754
|
+
self,
|
|
755
|
+
_request_auth,
|
|
756
|
+
_content_type,
|
|
757
|
+
_headers,
|
|
758
|
+
_host_index,
|
|
759
|
+
) -> RequestSerialized:
|
|
760
|
+
|
|
761
|
+
_host = None
|
|
762
|
+
|
|
763
|
+
_collection_formats: Dict[str, str] = {
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
_path_params: Dict[str, str] = {}
|
|
767
|
+
_query_params: List[Tuple[str, str]] = []
|
|
768
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
769
|
+
_form_params: List[Tuple[str, str]] = []
|
|
770
|
+
_files: Dict[
|
|
771
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
772
|
+
] = {}
|
|
773
|
+
_body_params: Optional[bytes] = None
|
|
774
|
+
|
|
775
|
+
# process the path parameters
|
|
776
|
+
# process the query parameters
|
|
777
|
+
# process the header parameters
|
|
778
|
+
# process the form parameters
|
|
779
|
+
# process the body parameter
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
# set the HTTP header `Accept`
|
|
783
|
+
if 'Accept' not in _header_params:
|
|
784
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
785
|
+
[
|
|
786
|
+
'application/json'
|
|
787
|
+
]
|
|
788
|
+
)
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
# authentication setting
|
|
792
|
+
_auth_settings: List[str] = [
|
|
793
|
+
]
|
|
794
|
+
|
|
795
|
+
return self.api_client.param_serialize(
|
|
796
|
+
method='GET',
|
|
797
|
+
resource_path='/api/v2/project_names',
|
|
798
|
+
path_params=_path_params,
|
|
799
|
+
query_params=_query_params,
|
|
800
|
+
header_params=_header_params,
|
|
801
|
+
body=_body_params,
|
|
802
|
+
post_params=_form_params,
|
|
803
|
+
files=_files,
|
|
804
|
+
auth_settings=_auth_settings,
|
|
805
|
+
collection_formats=_collection_formats,
|
|
806
|
+
_host=_host,
|
|
807
|
+
_request_auth=_request_auth
|
|
808
|
+
)
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
305
813
|
@validate_call
|
|
306
814
|
async def get_subject(
|
|
307
815
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/2.2.1/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
async def __aenter__(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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -496,8 +496,8 @@ class Configuration:
|
|
|
496
496
|
return "Python SDK Debug Report:\n"\
|
|
497
497
|
"OS: {env}\n"\
|
|
498
498
|
"Python Version: {pyversion}\n"\
|
|
499
|
-
"Version of the API: 2.1
|
|
500
|
-
"SDK Package Version: 2.1
|
|
499
|
+
"Version of the API: 2.2.1\n"\
|
|
500
|
+
"SDK Package Version: 2.2.1".\
|
|
501
501
|
format(env=sys.platform, pyversion=sys.version)
|
|
502
502
|
|
|
503
503
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
9
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
30
|
+
service_version: Optional[StrictStr] = '2.2.1'
|
|
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.1
|
|
95
|
+
"service_version": obj.get("service_version") if obj.get("service_version") is not None else '2.2.1'
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
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.1
|
|
8
|
+
The version of the OpenAPI document: 2.2.1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
aind_metadata_service_async_client/__init__.py,sha256=b5CHGk-WPxnGYxYjLWGOjh-lAHBBPp5u6ookF9KNs4Q,1677
|
|
2
|
+
aind_metadata_service_async_client/api_client.py,sha256=0N_nHMRoRX9iMB2v6zlvYZ13ACU1w3pzVy-XrzYWKkw,27680
|
|
3
|
+
aind_metadata_service_async_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
+
aind_metadata_service_async_client/configuration.py,sha256=TSYHPKhBgPeIqTN0C25pRp__gdlNo4UY3DHJ6NECmSA,17633
|
|
5
|
+
aind_metadata_service_async_client/exceptions.py,sha256=jpYeUYwjwIBTqUqO6edqwLAGqX--jNYekVkXGTnwEiE,6450
|
|
6
|
+
aind_metadata_service_async_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
aind_metadata_service_async_client/rest.py,sha256=r6nyu7THmPsYzr6sznH5ceFoJmrON_o00yljAmpv-9Y,7291
|
|
8
|
+
aind_metadata_service_async_client/api/__init__.py,sha256=d96ze7sPL5kXXzyh_qEhQY8xwPQP7HlPQzA_hU2u4Ck,204
|
|
9
|
+
aind_metadata_service_async_client/api/default_api.py,sha256=XfsVQ59WPS-SIkmsjXsHBu0WYapBRxp4SYrK1OvcMF4,184685
|
|
10
|
+
aind_metadata_service_async_client/api/healthcheck_api.py,sha256=rnG0xd32a5K2wq6Ber4JdurygN9rzRNHazGalpUmbg8,10649
|
|
11
|
+
aind_metadata_service_async_client/models/__init__.py,sha256=Ll5D6g9GrnNYFrDupBak5oxdmjUqDxSpKI6OO1KSVnI,797
|
|
12
|
+
aind_metadata_service_async_client/models/health_check.py,sha256=1frDyxavhMesT2OWcMU5YIKy6Nh9KmFrGklvJKRuTW0,3059
|
|
13
|
+
aind_metadata_service_async_client/models/http_validation_error.py,sha256=ROaZ8KmV5XdcmYLW8sgdHYeY2YCbf6iugiBoGYutVhE,3003
|
|
14
|
+
aind_metadata_service_async_client/models/slims_workflow.py,sha256=5KioIvL_3TRY0NKVsqLBrdlSmjgwJrZ3utcYs70f9E4,914
|
|
15
|
+
aind_metadata_service_async_client/models/validation_error.py,sha256=w74DMWhMZVO4MOXYCD_LWUj-9NhhKF3syEQMRpGTkJU,3095
|
|
16
|
+
aind_metadata_service_async_client/models/validation_error_loc_inner.py,sha256=FLkdhCKKxdCbBCA31Gvjqs6u5TxOxXXSv8vXBm3WxUc,4864
|
|
17
|
+
aind_metadata_service_async_client-2.2.1.dist-info/METADATA,sha256=F2pJ0bsYYsmSBwWxFfu4nS8k6OzgM1xlnlhrJlCuxOE,732
|
|
18
|
+
aind_metadata_service_async_client-2.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
aind_metadata_service_async_client-2.2.1.dist-info/top_level.txt,sha256=qZsXHVGh-0uni82lQ-rEHhHR5xE4vTvVjd5Km-m4GJE,35
|
|
20
|
+
aind_metadata_service_async_client-2.2.1.dist-info/RECORD,,
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
aind_metadata_service_async_client/__init__.py,sha256=ZAiZ2n3pRliSvV3TlAnGt_R-4S8Qhw6FBF4WTDoA4ps,1677
|
|
2
|
-
aind_metadata_service_async_client/api_client.py,sha256=49mGkKBzAY1Mj8cSGZoNNpQe5MqqPvHHkn9bJ3AHsyQ,27680
|
|
3
|
-
aind_metadata_service_async_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
aind_metadata_service_async_client/configuration.py,sha256=VlKPYF68h_02-lJa7fHMi2DsPZ1bdJgvB6kfb0O6Dp4,17633
|
|
5
|
-
aind_metadata_service_async_client/exceptions.py,sha256=HK_lZkA6nYYNR8Eg8uvczs8vCOhNiMTJD6AZBN__n6M,6450
|
|
6
|
-
aind_metadata_service_async_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
aind_metadata_service_async_client/rest.py,sha256=8KLLRSSHzHqwoJVwGr0EYFAdrxukKC-W3cCpjLflsB8,7291
|
|
8
|
-
aind_metadata_service_async_client/api/__init__.py,sha256=d96ze7sPL5kXXzyh_qEhQY8xwPQP7HlPQzA_hU2u4Ck,204
|
|
9
|
-
aind_metadata_service_async_client/api/default_api.py,sha256=kjwbO59uBSQk4v777tm0OhWoJjt4WiK6otztVxNOh18,165438
|
|
10
|
-
aind_metadata_service_async_client/api/healthcheck_api.py,sha256=YJDDZ_LViOiM-uXy5kwgg-nTBqp6XgQnmhRwyluNYZg,10649
|
|
11
|
-
aind_metadata_service_async_client/models/__init__.py,sha256=HxGI_jVVb4AIs8TI4k0hAOIOnf6eobHkDDto3ebA_y4,797
|
|
12
|
-
aind_metadata_service_async_client/models/health_check.py,sha256=qm7epMRWPsq59xW2UkRIAASi0wqoEvUxTDgH2XQHa1A,3059
|
|
13
|
-
aind_metadata_service_async_client/models/http_validation_error.py,sha256=0-TsfhpQKF1l96Z-4XkSvHaPXSdnke4B95tse0EQ2So,3003
|
|
14
|
-
aind_metadata_service_async_client/models/slims_workflow.py,sha256=RzZa7R1vr_eU1jeg-hCOizeRBQxYKeg46HxFNKim0fw,914
|
|
15
|
-
aind_metadata_service_async_client/models/validation_error.py,sha256=nY-CyMXHr27OaNPEi9alnMka40SPU7DfE84SAn3mtqY,3095
|
|
16
|
-
aind_metadata_service_async_client/models/validation_error_loc_inner.py,sha256=aZmQ76A9wlK2sfxsP7laoQWfdCnj5t9_zgR4yyosmh8,4864
|
|
17
|
-
aind_metadata_service_async_client-2.1.2.dist-info/METADATA,sha256=l5RJ7FLDT_FHIarhIPKf_FdKvU7sz_inGRNGYkWXE8g,732
|
|
18
|
-
aind_metadata_service_async_client-2.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
-
aind_metadata_service_async_client-2.1.2.dist-info/top_level.txt,sha256=qZsXHVGh-0uni82lQ-rEHhHR5xE4vTvVjd5Km-m4GJE,35
|
|
20
|
-
aind_metadata_service_async_client-2.1.2.dist-info/RECORD,,
|
|
File without changes
|