17
17
from typing import Any , Dict , List , Optional , Tuple , Union
18
18
from typing_extensions import Annotated
19
19
20
- from pydantic import Field , StrictStr
20
+ from pydantic import Field , StrictBool , StrictStr
21
21
from typing import List , Optional
22
22
from typing_extensions import Annotated
23
23
from neurostore_sdk .models .pipeline_study_result import PipelineStudyResult
@@ -45,6 +45,7 @@ def __init__(self, api_client=None) -> None:
45
45
def pipeline_study_results_get (
46
46
self ,
47
47
feature_filter : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by feature content. Format: \" PipelineName[:version]:field_path=value\" . Examples: - \" TestPipeline:1.0.0:groups.diagnosis=ADHD\" (specific version) - \" TestPipeline:groups.diagnosis=ADHD\" (latest version) Field path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=. " )] = None ,
48
+ feature_flatten : Optional [StrictBool ] = None ,
48
49
pipeline_config : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by pipeline config content. Format: \" PipelineName[:version]:config_path=value\" . Examples: - \" TestPipeline:1.0.0:preprocessing.smoothing=8\" (specific version) - \" TestPipeline:model.type=linear\" (latest version) Config path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=. " )] = None ,
49
50
study_id : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by base study ID" )] = None ,
50
51
version : Annotated [Optional [StrictStr ], Field (description = "Filter results by pipeline config version" )] = None ,
@@ -66,6 +67,8 @@ def pipeline_study_results_get(
66
67
67
68
:param feature_filter: Filter results by feature content. Format: \" PipelineName[:version]:field_path=value\" . Examples: - \" TestPipeline:1.0.0:groups.diagnosis=ADHD\" (specific version) - \" TestPipeline:groups.diagnosis=ADHD\" (latest version) Field path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=.
68
69
:type feature_filter: List[str]
70
+ :param feature_flatten:
71
+ :type feature_flatten: bool
69
72
:param pipeline_config: Filter results by pipeline config content. Format: \" PipelineName[:version]:config_path=value\" . Examples: - \" TestPipeline:1.0.0:preprocessing.smoothing=8\" (specific version) - \" TestPipeline:model.type=linear\" (latest version) Config path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=.
70
73
:type pipeline_config: List[str]
71
74
:param study_id: Filter results by base study ID
@@ -96,6 +99,7 @@ def pipeline_study_results_get(
96
99
97
100
_param = self ._pipeline_study_results_get_serialize (
98
101
feature_filter = feature_filter ,
102
+ feature_flatten = feature_flatten ,
99
103
pipeline_config = pipeline_config ,
100
104
study_id = study_id ,
101
105
version = version ,
@@ -123,6 +127,7 @@ def pipeline_study_results_get(
123
127
def pipeline_study_results_get_with_http_info (
124
128
self ,
125
129
feature_filter : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by feature content. Format: \" PipelineName[:version]:field_path=value\" . Examples: - \" TestPipeline:1.0.0:groups.diagnosis=ADHD\" (specific version) - \" TestPipeline:groups.diagnosis=ADHD\" (latest version) Field path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=. " )] = None ,
130
+ feature_flatten : Optional [StrictBool ] = None ,
126
131
pipeline_config : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by pipeline config content. Format: \" PipelineName[:version]:config_path=value\" . Examples: - \" TestPipeline:1.0.0:preprocessing.smoothing=8\" (specific version) - \" TestPipeline:model.type=linear\" (latest version) Config path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=. " )] = None ,
127
132
study_id : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by base study ID" )] = None ,
128
133
version : Annotated [Optional [StrictStr ], Field (description = "Filter results by pipeline config version" )] = None ,
@@ -144,6 +149,8 @@ def pipeline_study_results_get_with_http_info(
144
149
145
150
:param feature_filter: Filter results by feature content. Format: \" PipelineName[:version]:field_path=value\" . Examples: - \" TestPipeline:1.0.0:groups.diagnosis=ADHD\" (specific version) - \" TestPipeline:groups.diagnosis=ADHD\" (latest version) Field path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=.
146
151
:type feature_filter: List[str]
152
+ :param feature_flatten:
153
+ :type feature_flatten: bool
147
154
:param pipeline_config: Filter results by pipeline config content. Format: \" PipelineName[:version]:config_path=value\" . Examples: - \" TestPipeline:1.0.0:preprocessing.smoothing=8\" (specific version) - \" TestPipeline:model.type=linear\" (latest version) Config path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=.
148
155
:type pipeline_config: List[str]
149
156
:param study_id: Filter results by base study ID
@@ -174,6 +181,7 @@ def pipeline_study_results_get_with_http_info(
174
181
175
182
_param = self ._pipeline_study_results_get_serialize (
176
183
feature_filter = feature_filter ,
184
+ feature_flatten = feature_flatten ,
177
185
pipeline_config = pipeline_config ,
178
186
study_id = study_id ,
179
187
version = version ,
@@ -201,6 +209,7 @@ def pipeline_study_results_get_with_http_info(
201
209
def pipeline_study_results_get_without_preload_content (
202
210
self ,
203
211
feature_filter : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by feature content. Format: \" PipelineName[:version]:field_path=value\" . Examples: - \" TestPipeline:1.0.0:groups.diagnosis=ADHD\" (specific version) - \" TestPipeline:groups.diagnosis=ADHD\" (latest version) Field path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=. " )] = None ,
212
+ feature_flatten : Optional [StrictBool ] = None ,
204
213
pipeline_config : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by pipeline config content. Format: \" PipelineName[:version]:config_path=value\" . Examples: - \" TestPipeline:1.0.0:preprocessing.smoothing=8\" (specific version) - \" TestPipeline:model.type=linear\" (latest version) Config path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=. " )] = None ,
205
214
study_id : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by base study ID" )] = None ,
206
215
version : Annotated [Optional [StrictStr ], Field (description = "Filter results by pipeline config version" )] = None ,
@@ -222,6 +231,8 @@ def pipeline_study_results_get_without_preload_content(
222
231
223
232
:param feature_filter: Filter results by feature content. Format: \" PipelineName[:version]:field_path=value\" . Examples: - \" TestPipeline:1.0.0:groups.diagnosis=ADHD\" (specific version) - \" TestPipeline:groups.diagnosis=ADHD\" (latest version) Field path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=.
224
233
:type feature_filter: List[str]
234
+ :param feature_flatten:
235
+ :type feature_flatten: bool
225
236
:param pipeline_config: Filter results by pipeline config content. Format: \" PipelineName[:version]:config_path=value\" . Examples: - \" TestPipeline:1.0.0:preprocessing.smoothing=8\" (specific version) - \" TestPipeline:model.type=linear\" (latest version) Config path supports array notation with [], regex search with ~, and comparisons with =, >, <, >=, <=.
226
237
:type pipeline_config: List[str]
227
238
:param study_id: Filter results by base study ID
@@ -252,6 +263,7 @@ def pipeline_study_results_get_without_preload_content(
252
263
253
264
_param = self ._pipeline_study_results_get_serialize (
254
265
feature_filter = feature_filter ,
266
+ feature_flatten = feature_flatten ,
255
267
pipeline_config = pipeline_config ,
256
268
study_id = study_id ,
257
269
version = version ,
@@ -274,6 +286,7 @@ def pipeline_study_results_get_without_preload_content(
274
286
def _pipeline_study_results_get_serialize (
275
287
self ,
276
288
feature_filter ,
289
+ feature_flatten ,
277
290
pipeline_config ,
278
291
study_id ,
279
292
version ,
@@ -306,6 +319,10 @@ def _pipeline_study_results_get_serialize(
306
319
307
320
_query_params .append (('feature_filter' , feature_filter ))
308
321
322
+ if feature_flatten is not None :
323
+
324
+ _query_params .append (('feature_flatten' , feature_flatten ))
325
+
309
326
if pipeline_config is not None :
310
327
311
328
_query_params .append (('pipeline_config' , pipeline_config ))
0 commit comments