aind-metadata-service-client 2.1.2__py3-none-any.whl → 2.2.0__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-client might be problematic. Click here for more details.
- aind_metadata_service_client/__init__.py +2 -2
- aind_metadata_service_client/api/default_api.py +509 -1
- aind_metadata_service_client/api/healthcheck_api.py +1 -1
- aind_metadata_service_client/api_client.py +2 -2
- aind_metadata_service_client/configuration.py +3 -3
- aind_metadata_service_client/exceptions.py +1 -1
- aind_metadata_service_client/models/__init__.py +1 -1
- aind_metadata_service_client/models/health_check.py +3 -3
- aind_metadata_service_client/models/http_validation_error.py +1 -1
- aind_metadata_service_client/models/slims_workflow.py +1 -1
- aind_metadata_service_client/models/validation_error.py +1 -1
- aind_metadata_service_client/models/validation_error_loc_inner.py +1 -1
- aind_metadata_service_client/rest.py +1 -1
- {aind_metadata_service_client-2.1.2.dist-info → aind_metadata_service_client-2.2.0.dist-info}/METADATA +1 -1
- aind_metadata_service_client-2.2.0.dist-info/RECORD +20 -0
- aind_metadata_service_client-2.1.2.dist-info/RECORD +0 -20
- {aind_metadata_service_client-2.1.2.dist-info → aind_metadata_service_client-2.2.0.dist-info}/WHEEL +0 -0
- {aind_metadata_service_client-2.1.2.dist-info → aind_metadata_service_client-2.2.0.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.
|
|
10
|
+
The version of the OpenAPI document: 2.2.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.2.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.2.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_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 = 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_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 = 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_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 = 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
|
def get_procedures(
|
|
44
307
|
self,
|
|
@@ -302,6 +565,251 @@ class DefaultApi:
|
|
|
302
565
|
|
|
303
566
|
|
|
304
567
|
|
|
568
|
+
@validate_call
|
|
569
|
+
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 = self.api_client.call_api(
|
|
621
|
+
*_param,
|
|
622
|
+
_request_timeout=_request_timeout
|
|
623
|
+
)
|
|
624
|
+
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
|
+
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 = self.api_client.call_api(
|
|
684
|
+
*_param,
|
|
685
|
+
_request_timeout=_request_timeout
|
|
686
|
+
)
|
|
687
|
+
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
|
+
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 = 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
|
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.
|
|
8
|
+
The version of the OpenAPI document: 2.2.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.2.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.2.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.2.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.2.0\n"\
|
|
504
|
+
"SDK Package Version: 2.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.0
|
|
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_client/__init__.py,sha256=HvQBiNjvo4RV9GRdwy7FxjN61phW19k26cmssqM8jRo,1581
|
|
2
|
+
aind_metadata_service_client/api_client.py,sha256=gv_8kamwTdJ_b8oHg1wpFZGfxfn1HRUTZ40si5u1mKk,27537
|
|
3
|
+
aind_metadata_service_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
+
aind_metadata_service_client/configuration.py,sha256=Uu2HdFBUijTcp7qghaOlNBPdurWVyjvF8qi4d0Tj6mY,17911
|
|
5
|
+
aind_metadata_service_client/exceptions.py,sha256=o0vlo0pmjWWFK3da3ZU52agpUxnS3Y2kRonzglO-Edo,6450
|
|
6
|
+
aind_metadata_service_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
aind_metadata_service_client/rest.py,sha256=5w0esMDUyXhYIOqWB0H9KhgepQNtVGya-wEsPMQsuGE,9461
|
|
8
|
+
aind_metadata_service_client/api/__init__.py,sha256=60TzViCpt-t7vx84cy9NPdPzaYFC2Q7i2SJeVvpRk2g,192
|
|
9
|
+
aind_metadata_service_client/api/default_api.py,sha256=iVovkdoPCinESrvDmfFL-1RMiwc1eIctg0a4iHQj_gE,183797
|
|
10
|
+
aind_metadata_service_client/api/healthcheck_api.py,sha256=vZPC_bjHPf6ZTVZvFNFpllNxDZxnpKJFzXSH2aPTSe8,10577
|
|
11
|
+
aind_metadata_service_client/models/__init__.py,sha256=U49BU38Ahvzt2pb0AdBo0afFE6DPbrfVR7JsIuJ-uyY,767
|
|
12
|
+
aind_metadata_service_client/models/health_check.py,sha256=WXI2H2kI6xsGeKmOMS1IxU4AWVKkMcpZ4bqRdT8_vFk,3059
|
|
13
|
+
aind_metadata_service_client/models/http_validation_error.py,sha256=5Ake2AmGYIRRigb-TvTlOxpH52SHRG8gaR4pKa5ot_M,2997
|
|
14
|
+
aind_metadata_service_client/models/slims_workflow.py,sha256=iNWt7V2eSi5Wr0VONvJX1LFvnv63XWBBQZfnUFq5OkY,914
|
|
15
|
+
aind_metadata_service_client/models/validation_error.py,sha256=Y9oakesIdVkJc7D0lEewIARpPVzcbsLn7VOnGA_Jvo0,3089
|
|
16
|
+
aind_metadata_service_client/models/validation_error_loc_inner.py,sha256=U5DlwM2BswRnFCzhdBJ3NGQbXnD22Xqwd3eptAxCMHg,4864
|
|
17
|
+
aind_metadata_service_client-2.2.0.dist-info/METADATA,sha256=h31NgDqj3PUt04Kyk3bXoEqOapOqeCyeZ-t3Tm6FVDs,660
|
|
18
|
+
aind_metadata_service_client-2.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
aind_metadata_service_client-2.2.0.dist-info/top_level.txt,sha256=fuQi3EOLWlrnWp7wAuEPObBnrVkdEpHJIqkMv34drEg,29
|
|
20
|
+
aind_metadata_service_client-2.2.0.dist-info/RECORD,,
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
aind_metadata_service_client/__init__.py,sha256=Mvpp6jYSnmgYr2HT0npWI0qNwJ0qBRLW3zqzJX_Lw2o,1581
|
|
2
|
-
aind_metadata_service_client/api_client.py,sha256=iL69vbYDzQUYOS_3gB5egLEHiQKiP-FU3jY8ylolxJc,27537
|
|
3
|
-
aind_metadata_service_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
aind_metadata_service_client/configuration.py,sha256=W6quj4_vh2TaPS6mhG-i3ysGM5YOpvkMgCYlArQ7eW0,17911
|
|
5
|
-
aind_metadata_service_client/exceptions.py,sha256=HK_lZkA6nYYNR8Eg8uvczs8vCOhNiMTJD6AZBN__n6M,6450
|
|
6
|
-
aind_metadata_service_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
aind_metadata_service_client/rest.py,sha256=D4dNznlezMcbngjKdWvBfbAv8k0W9VLenv60osMrKTE,9461
|
|
8
|
-
aind_metadata_service_client/api/__init__.py,sha256=60TzViCpt-t7vx84cy9NPdPzaYFC2Q7i2SJeVvpRk2g,192
|
|
9
|
-
aind_metadata_service_client/api/default_api.py,sha256=Us9Ww7rhbEN4QwkszZteIWrRlYzqseK6PPq7koI-YlI,164646
|
|
10
|
-
aind_metadata_service_client/api/healthcheck_api.py,sha256=o9qYjae20RjR3VEzQTCAF5iLGkFs8rbXwNtACFGfzMA,10577
|
|
11
|
-
aind_metadata_service_client/models/__init__.py,sha256=18Y6kK-3NkvsgvEYI7FSMASbKVcpI5QuPzDaPYN4JNE,767
|
|
12
|
-
aind_metadata_service_client/models/health_check.py,sha256=qm7epMRWPsq59xW2UkRIAASi0wqoEvUxTDgH2XQHa1A,3059
|
|
13
|
-
aind_metadata_service_client/models/http_validation_error.py,sha256=cqIR6e9acHdd_VYcBvA-acZsfdwkkIEtnn0FzRYuVkU,2997
|
|
14
|
-
aind_metadata_service_client/models/slims_workflow.py,sha256=RzZa7R1vr_eU1jeg-hCOizeRBQxYKeg46HxFNKim0fw,914
|
|
15
|
-
aind_metadata_service_client/models/validation_error.py,sha256=x6XsFEoh7UcYg-abAt7yny-Jws9O4j-UD9PCCeg_TMY,3089
|
|
16
|
-
aind_metadata_service_client/models/validation_error_loc_inner.py,sha256=aZmQ76A9wlK2sfxsP7laoQWfdCnj5t9_zgR4yyosmh8,4864
|
|
17
|
-
aind_metadata_service_client-2.1.2.dist-info/METADATA,sha256=LNhA8MmHPPYCQtZXDnd-S61Xg94gyqqNWk85cXd4dhM,660
|
|
18
|
-
aind_metadata_service_client-2.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
-
aind_metadata_service_client-2.1.2.dist-info/top_level.txt,sha256=fuQi3EOLWlrnWp7wAuEPObBnrVkdEpHJIqkMv34drEg,29
|
|
20
|
-
aind_metadata_service_client-2.1.2.dist-info/RECORD,,
|
{aind_metadata_service_client-2.1.2.dist-info → aind_metadata_service_client-2.2.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|