1717from typing import Any , Dict , List , Optional , Tuple , Union
1818from typing_extensions import Annotated
1919
20- from pydantic import Field , StrictStr
20+ from pydantic import Field , StrictBool , StrictStr
2121from typing import List , Optional
2222from typing_extensions import Annotated
2323from neurostore_sdk .models .pipeline_study_result import PipelineStudyResult
@@ -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. 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 ,
4849 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 ,
4950 study_id : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by base study ID" )] = None ,
5051 version : Annotated [Optional [StrictStr ], Field (description = "Filter results by pipeline config version" )] = None ,
@@ -66,6 +67,8 @@ def pipeline_study_results_get(
6667
6768 :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 =, >, <, >=, <=.
6869 :type feature_filter: List[str]
70+ :param feature_flatten:
71+ :type feature_flatten: bool
6972 :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 =, >, <, >=, <=.
7073 :type pipeline_config: List[str]
7174 :param study_id: Filter results by base study ID
@@ -96,6 +99,7 @@ def pipeline_study_results_get(
9699
97100 _param = self ._pipeline_study_results_get_serialize (
98101 feature_filter = feature_filter ,
102+ feature_flatten = feature_flatten ,
99103 pipeline_config = pipeline_config ,
100104 study_id = study_id ,
101105 version = version ,
@@ -123,6 +127,7 @@ def pipeline_study_results_get(
123127 def pipeline_study_results_get_with_http_info (
124128 self ,
125129 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 ,
126131 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 ,
127132 study_id : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by base study ID" )] = None ,
128133 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(
144149
145150 :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 =, >, <, >=, <=.
146151 :type feature_filter: List[str]
152+ :param feature_flatten:
153+ :type feature_flatten: bool
147154 :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 =, >, <, >=, <=.
148155 :type pipeline_config: List[str]
149156 :param study_id: Filter results by base study ID
@@ -174,6 +181,7 @@ def pipeline_study_results_get_with_http_info(
174181
175182 _param = self ._pipeline_study_results_get_serialize (
176183 feature_filter = feature_filter ,
184+ feature_flatten = feature_flatten ,
177185 pipeline_config = pipeline_config ,
178186 study_id = study_id ,
179187 version = version ,
@@ -201,6 +209,7 @@ def pipeline_study_results_get_with_http_info(
201209 def pipeline_study_results_get_without_preload_content (
202210 self ,
203211 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 ,
204213 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 ,
205214 study_id : Annotated [Optional [List [StrictStr ]], Field (description = "Filter results by base study ID" )] = None ,
206215 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(
222231
223232 :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 =, >, <, >=, <=.
224233 :type feature_filter: List[str]
234+ :param feature_flatten:
235+ :type feature_flatten: bool
225236 :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 =, >, <, >=, <=.
226237 :type pipeline_config: List[str]
227238 :param study_id: Filter results by base study ID
@@ -252,6 +263,7 @@ def pipeline_study_results_get_without_preload_content(
252263
253264 _param = self ._pipeline_study_results_get_serialize (
254265 feature_filter = feature_filter ,
266+ feature_flatten = feature_flatten ,
255267 pipeline_config = pipeline_config ,
256268 study_id = study_id ,
257269 version = version ,
@@ -274,6 +286,7 @@ def pipeline_study_results_get_without_preload_content(
274286 def _pipeline_study_results_get_serialize (
275287 self ,
276288 feature_filter ,
289+ feature_flatten ,
277290 pipeline_config ,
278291 study_id ,
279292 version ,
@@ -306,6 +319,10 @@ def _pipeline_study_results_get_serialize(
306319
307320 _query_params .append (('feature_filter' , feature_filter ))
308321
322+ if feature_flatten is not None :
323+
324+ _query_params .append (('feature_flatten' , feature_flatten ))
325+
309326 if pipeline_config is not None :
310327
311328 _query_params .append (('pipeline_config' , pipeline_config ))
0 commit comments