Skip to content

Commit 1a714a0

Browse files
6005990a6179c76e640cd4bff343f7690d979994
1 parent 1d6f487 commit 1a714a0

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.openapi-generator/FILES

-3
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,4 @@ setup.cfg
219219
setup.py
220220
test-requirements.txt
221221
test/__init__.py
222-
test/test_pipeline_study_result.py
223-
test/test_pipeline_study_result_list.py
224-
test/test_pipeline_study_results_api.py
225222
tox.ini

docs/PipelineStudyResultsApi.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313

1414
# **pipeline_study_results_get**
15-
> PipelineStudyResultList pipeline_study_results_get(feature_filter=feature_filter)
15+
> PipelineStudyResultList pipeline_study_results_get(feature_filter=feature_filter, study_id=study_id)
1616
1717
GET a list of pipeline run results
1818

@@ -37,10 +37,11 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
3737
# Create an instance of the API class
3838
api_instance = neurostore_sdk.PipelineStudyResultsApi(api_client)
3939
feature_filter = ['feature_filter_example'] # List[str] | Filter results by feature content using jsonpath syntax (optional)
40+
study_id = ['study_id_example'] # List[str] | Filter results by base study ID (optional)
4041

4142
try:
4243
# GET a list of pipeline run results
43-
api_response = api_instance.pipeline_study_results_get(feature_filter=feature_filter)
44+
api_response = api_instance.pipeline_study_results_get(feature_filter=feature_filter, study_id=study_id)
4445
print("The response of PipelineStudyResultsApi->pipeline_study_results_get:\n")
4546
pprint(api_response)
4647
except Exception as e:
@@ -55,6 +56,7 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
5556
Name | Type | Description | Notes
5657
------------- | ------------- | ------------- | -------------
5758
**feature_filter** | [**List[str]**](str.md)| Filter results by feature content using jsonpath syntax | [optional]
59+
**study_id** | [**List[str]**](str.md)| Filter results by base study ID | [optional]
5860

5961
### Return type
6062

neurostore_sdk/api/pipeline_study_results_api.py

+18
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def __init__(self, api_client=None) -> None:
4545
def pipeline_study_results_get(
4646
self,
4747
feature_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter results by feature content using jsonpath syntax")] = None,
48+
study_id: Annotated[Optional[List[StrictStr]], Field(description="Filter results by base study ID")] = None,
4849
_request_timeout: Union[
4950
None,
5051
Annotated[StrictFloat, Field(gt=0)],
@@ -63,6 +64,8 @@ def pipeline_study_results_get(
6364
6465
:param feature_filter: Filter results by feature content using jsonpath syntax
6566
:type feature_filter: List[str]
67+
:param study_id: Filter results by base study ID
68+
:type study_id: List[str]
6669
:param _request_timeout: timeout setting for this request. If one
6770
number provided, it will be total request
6871
timeout. It can also be a pair (tuple) of
@@ -87,6 +90,7 @@ def pipeline_study_results_get(
8790

8891
_param = self._pipeline_study_results_get_serialize(
8992
feature_filter=feature_filter,
93+
study_id=study_id,
9094
_request_auth=_request_auth,
9195
_content_type=_content_type,
9296
_headers=_headers,
@@ -111,6 +115,7 @@ def pipeline_study_results_get(
111115
def pipeline_study_results_get_with_http_info(
112116
self,
113117
feature_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter results by feature content using jsonpath syntax")] = None,
118+
study_id: Annotated[Optional[List[StrictStr]], Field(description="Filter results by base study ID")] = None,
114119
_request_timeout: Union[
115120
None,
116121
Annotated[StrictFloat, Field(gt=0)],
@@ -129,6 +134,8 @@ def pipeline_study_results_get_with_http_info(
129134
130135
:param feature_filter: Filter results by feature content using jsonpath syntax
131136
:type feature_filter: List[str]
137+
:param study_id: Filter results by base study ID
138+
:type study_id: List[str]
132139
:param _request_timeout: timeout setting for this request. If one
133140
number provided, it will be total request
134141
timeout. It can also be a pair (tuple) of
@@ -153,6 +160,7 @@ def pipeline_study_results_get_with_http_info(
153160

154161
_param = self._pipeline_study_results_get_serialize(
155162
feature_filter=feature_filter,
163+
study_id=study_id,
156164
_request_auth=_request_auth,
157165
_content_type=_content_type,
158166
_headers=_headers,
@@ -177,6 +185,7 @@ def pipeline_study_results_get_with_http_info(
177185
def pipeline_study_results_get_without_preload_content(
178186
self,
179187
feature_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter results by feature content using jsonpath syntax")] = None,
188+
study_id: Annotated[Optional[List[StrictStr]], Field(description="Filter results by base study ID")] = None,
180189
_request_timeout: Union[
181190
None,
182191
Annotated[StrictFloat, Field(gt=0)],
@@ -195,6 +204,8 @@ def pipeline_study_results_get_without_preload_content(
195204
196205
:param feature_filter: Filter results by feature content using jsonpath syntax
197206
:type feature_filter: List[str]
207+
:param study_id: Filter results by base study ID
208+
:type study_id: List[str]
198209
:param _request_timeout: timeout setting for this request. If one
199210
number provided, it will be total request
200211
timeout. It can also be a pair (tuple) of
@@ -219,6 +230,7 @@ def pipeline_study_results_get_without_preload_content(
219230

220231
_param = self._pipeline_study_results_get_serialize(
221232
feature_filter=feature_filter,
233+
study_id=study_id,
222234
_request_auth=_request_auth,
223235
_content_type=_content_type,
224236
_headers=_headers,
@@ -238,6 +250,7 @@ def pipeline_study_results_get_without_preload_content(
238250
def _pipeline_study_results_get_serialize(
239251
self,
240252
feature_filter,
253+
study_id,
241254
_request_auth,
242255
_content_type,
243256
_headers,
@@ -248,6 +261,7 @@ def _pipeline_study_results_get_serialize(
248261

249262
_collection_formats: Dict[str, str] = {
250263
'feature_filter': 'multi',
264+
'study_id': 'multi',
251265
}
252266

253267
_path_params: Dict[str, str] = {}
@@ -265,6 +279,10 @@ def _pipeline_study_results_get_serialize(
265279

266280
_query_params.append(('feature_filter', feature_filter))
267281

282+
if study_id is not None:
283+
284+
_query_params.append(('study_id', study_id))
285+
268286
# process the header parameters
269287
# process the form parameters
270288
# process the body parameter

0 commit comments

Comments
 (0)