diff --git a/docs/AnalysesApi.md b/docs/AnalysesApi.md index 36ba4fa..b35c213 100644 --- a/docs/AnalysesApi.md +++ b/docs/AnalysesApi.md @@ -607,7 +607,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **annotation_analyses_post** -> NoteCollectionReturn annotation_analyses_post(note_collection_request=note_collection_request) +> List[NoteCollectionReturn] annotation_analyses_post(note_collection_request=note_collection_request) Your POST endpoint @@ -663,7 +663,7 @@ Name | Type | Description | Notes ### Return type -[**NoteCollectionReturn**](NoteCollectionReturn.md) +[**List[NoteCollectionReturn]**](NoteCollectionReturn.md) ### Authorization diff --git a/docs/AnnotationsApi.md b/docs/AnnotationsApi.md index e3263e8..c25f8c3 100644 --- a/docs/AnnotationsApi.md +++ b/docs/AnnotationsApi.md @@ -228,7 +228,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **annotation_analyses_post** -> NoteCollectionReturn annotation_analyses_post(note_collection_request=note_collection_request) +> List[NoteCollectionReturn] annotation_analyses_post(note_collection_request=note_collection_request) Your POST endpoint @@ -284,7 +284,7 @@ Name | Type | Description | Notes ### Return type -[**NoteCollectionReturn**](NoteCollectionReturn.md) +[**List[NoteCollectionReturn]**](NoteCollectionReturn.md) ### Authorization diff --git a/docs/StoreApi.md b/docs/StoreApi.md index d377370..7f55187 100644 --- a/docs/StoreApi.md +++ b/docs/StoreApi.md @@ -640,7 +640,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **annotation_analyses_post** -> NoteCollectionReturn annotation_analyses_post(note_collection_request=note_collection_request) +> List[NoteCollectionReturn] annotation_analyses_post(note_collection_request=note_collection_request) Your POST endpoint @@ -696,7 +696,7 @@ Name | Type | Description | Notes ### Return type -[**NoteCollectionReturn**](NoteCollectionReturn.md) +[**List[NoteCollectionReturn]**](NoteCollectionReturn.md) ### Authorization diff --git a/neurostore_sdk/api/analyses_api.py b/neurostore_sdk/api/analyses_api.py index 6b27912..eaf7c7b 100644 --- a/neurostore_sdk/api/analyses_api.py +++ b/neurostore_sdk/api/analyses_api.py @@ -22,7 +22,7 @@ from pydantic import Field, StrictBool, StrictStr, conint, conlist, constr -from typing import Optional +from typing import List, Optional from neurostore_sdk.models.analysis_list import AnalysisList from neurostore_sdk.models.analysis_request import AnalysisRequest @@ -1248,7 +1248,7 @@ def annotation_analyses_id_put_with_http_info(self, id : StrictStr, note_collect _request_auth=_params.get('_request_auth')) @validate_arguments - def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 + def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> List[NoteCollectionReturn]: # noqa: E501 """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -1268,7 +1268,7 @@ def annotation_analyses_post(self, note_collection_request : Optional[conlist(No :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: NoteCollectionReturn + :rtype: List[NoteCollectionReturn] """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: @@ -1309,7 +1309,7 @@ def annotation_analyses_post_with_http_info(self, note_collection_request : Opti :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(NoteCollectionReturn, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(List[NoteCollectionReturn], status_code(int), headers(HTTPHeaderDict)) """ _params = locals() @@ -1371,7 +1371,7 @@ def annotation_analyses_post_with_http_info(self, note_collection_request : Opti _auth_settings = ['JSON-Web-Token'] # noqa: E501 _response_types_map = { - '200': "NoteCollectionReturn", + '200': "List[NoteCollectionReturn]", } return self.api_client.call_api( diff --git a/neurostore_sdk/api/annotations_api.py b/neurostore_sdk/api/annotations_api.py index eb154b9..2af8031 100644 --- a/neurostore_sdk/api/annotations_api.py +++ b/neurostore_sdk/api/annotations_api.py @@ -22,7 +22,7 @@ from pydantic import Field, StrictBool, StrictStr, conlist -from typing import Optional +from typing import List, Optional from neurostore_sdk.models.annotation_list import AnnotationList from neurostore_sdk.models.annotation_request import AnnotationRequest @@ -471,7 +471,7 @@ def annotation_analyses_id_put_with_http_info(self, id : StrictStr, note_collect _request_auth=_params.get('_request_auth')) @validate_arguments - def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 + def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> List[NoteCollectionReturn]: # noqa: E501 """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -491,7 +491,7 @@ def annotation_analyses_post(self, note_collection_request : Optional[conlist(No :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: NoteCollectionReturn + :rtype: List[NoteCollectionReturn] """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: @@ -532,7 +532,7 @@ def annotation_analyses_post_with_http_info(self, note_collection_request : Opti :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(NoteCollectionReturn, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(List[NoteCollectionReturn], status_code(int), headers(HTTPHeaderDict)) """ _params = locals() @@ -594,7 +594,7 @@ def annotation_analyses_post_with_http_info(self, note_collection_request : Opti _auth_settings = ['JSON-Web-Token'] # noqa: E501 _response_types_map = { - '200': "NoteCollectionReturn", + '200': "List[NoteCollectionReturn]", } return self.api_client.call_api( diff --git a/neurostore_sdk/api/store_api.py b/neurostore_sdk/api/store_api.py index 2213dc7..f5501a8 100644 --- a/neurostore_sdk/api/store_api.py +++ b/neurostore_sdk/api/store_api.py @@ -22,7 +22,7 @@ from pydantic import Field, StrictBool, StrictStr, conint, conlist, constr -from typing import Any, Optional +from typing import Any, List, Optional from neurostore_sdk.models.analysis_list import AnalysisList from neurostore_sdk.models.analysis_request import AnalysisRequest @@ -1270,7 +1270,7 @@ def annotation_analyses_id_put_with_http_info(self, id : StrictStr, note_collect _request_auth=_params.get('_request_auth')) @validate_arguments - def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> NoteCollectionReturn: # noqa: E501 + def annotation_analyses_post(self, note_collection_request : Optional[conlist(NoteCollectionRequest)] = None, **kwargs) -> List[NoteCollectionReturn]: # noqa: E501 """Your POST endpoint # noqa: E501 This method makes a synchronous HTTP request by default. To make an @@ -1290,7 +1290,7 @@ def annotation_analyses_post(self, note_collection_request : Optional[conlist(No :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: NoteCollectionReturn + :rtype: List[NoteCollectionReturn] """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: @@ -1331,7 +1331,7 @@ def annotation_analyses_post_with_http_info(self, note_collection_request : Opti :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(NoteCollectionReturn, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(List[NoteCollectionReturn], status_code(int), headers(HTTPHeaderDict)) """ _params = locals() @@ -1393,7 +1393,7 @@ def annotation_analyses_post_with_http_info(self, note_collection_request : Opti _auth_settings = ['JSON-Web-Token'] # noqa: E501 _response_types_map = { - '200': "NoteCollectionReturn", + '200': "List[NoteCollectionReturn]", } return self.api_client.call_api(