2020from pydantic import validate_arguments , ValidationError
2121from typing_extensions import Annotated
2222
23- from pydantic import StrictStr
23+ from pydantic import Field , StrictStr , conlist
2424
2525from typing import Optional
2626
@@ -48,15 +48,17 @@ def __init__(self, api_client=None):
4848 self .api_client = api_client
4949
5050 @validate_arguments
51- def pipeline_study_results_get (self , ** kwargs ) -> PipelineStudyResultList : # noqa: E501
51+ def pipeline_study_results_get (self , feature_filter : Annotated [ Optional [ conlist ( StrictStr )], Field ( description = "Filter results by feature content using jsonpath syntax" )] = None , ** kwargs ) -> PipelineStudyResultList : # noqa: E501
5252 """GET a list of pipeline run results # noqa: E501
5353
5454 This method makes a synchronous HTTP request by default. To make an
5555 asynchronous HTTP request, please pass async_req=True
5656
57- >>> thread = api.pipeline_study_results_get(async_req=True)
57+ >>> thread = api.pipeline_study_results_get(feature_filter, async_req=True)
5858 >>> result = thread.get()
5959
60+ :param feature_filter: Filter results by feature content using jsonpath syntax
61+ :type feature_filter: List[str]
6062 :param async_req: Whether to execute the request asynchronously.
6163 :type async_req: bool, optional
6264 :param _request_timeout: timeout setting for this request. If one
@@ -71,18 +73,20 @@ def pipeline_study_results_get(self, **kwargs) -> PipelineStudyResultList: # no
7173 kwargs ['_return_http_data_only' ] = True
7274 if '_preload_content' in kwargs :
7375 raise ValueError ("Error! Please call the pipeline_study_results_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" )
74- return self .pipeline_study_results_get_with_http_info (** kwargs ) # noqa: E501
76+ return self .pipeline_study_results_get_with_http_info (feature_filter , ** kwargs ) # noqa: E501
7577
7678 @validate_arguments
77- def pipeline_study_results_get_with_http_info (self , ** kwargs ) -> ApiResponse : # noqa: E501
79+ def pipeline_study_results_get_with_http_info (self , feature_filter : Annotated [ Optional [ conlist ( StrictStr )], Field ( description = "Filter results by feature content using jsonpath syntax" )] = None , ** kwargs ) -> ApiResponse : # noqa: E501
7880 """GET a list of pipeline run results # noqa: E501
7981
8082 This method makes a synchronous HTTP request by default. To make an
8183 asynchronous HTTP request, please pass async_req=True
8284
83- >>> thread = api.pipeline_study_results_get_with_http_info(async_req=True)
85+ >>> thread = api.pipeline_study_results_get_with_http_info(feature_filter, async_req=True)
8486 >>> result = thread.get()
8587
88+ :param feature_filter: Filter results by feature content using jsonpath syntax
89+ :type feature_filter: List[str]
8690 :param async_req: Whether to execute the request asynchronously.
8791 :type async_req: bool, optional
8892 :param _preload_content: if False, the ApiResponse.data will
@@ -111,6 +115,7 @@ def pipeline_study_results_get_with_http_info(self, **kwargs) -> ApiResponse: #
111115 _params = locals ()
112116
113117 _all_params = [
118+ 'feature_filter'
114119 ]
115120 _all_params .extend (
116121 [
@@ -141,6 +146,10 @@ def pipeline_study_results_get_with_http_info(self, **kwargs) -> ApiResponse: #
141146
142147 # process the query parameters
143148 _query_params = []
149+ if _params .get ('feature_filter' ) is not None : # noqa: E501
150+ _query_params .append (('feature_filter' , _params ['feature_filter' ]))
151+ _collection_formats ['feature_filter' ] = 'multi'
152+
144153 # process the header parameters
145154 _header_params = dict (_params .get ('_headers' , {}))
146155 # process the form parameters
0 commit comments