From af3953ef0a81263f922c011be3d8edba61fa47b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 18:39:31 +0000 Subject: [PATCH] 9281a76a191bb6050b8a04a08db9476ddbed0e69 --- docs/AnalysisReturn.md | 2 +- docs/AnnotationReturn.md | 2 +- docs/AnnotationReturnOneOf1.md | 2 +- docs/BaseStudiesPost200Response.md | 2 +- docs/BaseStudyReturn.md | 2 +- docs/ConditionReturn.md | 2 +- docs/ImageReturn.md | 2 +- docs/PointReturn.md | 2 +- docs/ReadableResourceAttributes.md | 2 +- docs/ResourceAttributes.md | 2 +- docs/StoreApi.md | 8 ++++--- docs/StudyReturn.md | 2 +- docs/StudysetReturn.md | 2 +- docs/StudysetsApi.md | 8 ++++--- docs/UserlessResourceAttributes.md | 2 +- neurostore_sdk/api/store_api.py | 22 +++++++++++++------ neurostore_sdk/api/studysets_api.py | 22 +++++++++++++------ neurostore_sdk/models/analysis_return.py | 2 +- .../models/annotation_return_one_of1.py | 2 +- neurostore_sdk/models/base_study_return.py | 2 +- neurostore_sdk/models/condition_return.py | 2 +- neurostore_sdk/models/image_return.py | 2 +- neurostore_sdk/models/point_return.py | 2 +- .../models/readable_resource_attributes.py | 2 +- neurostore_sdk/models/resource_attributes.py | 2 +- neurostore_sdk/models/study_return.py | 2 +- neurostore_sdk/models/studyset_return.py | 2 +- .../models/userless_resource_attributes.py | 2 +- 28 files changed, 64 insertions(+), 44 deletions(-) diff --git a/docs/AnalysisReturn.md b/docs/AnalysisReturn.md index 833ba9f..054f1dc 100644 --- a/docs/AnalysisReturn.md +++ b/docs/AnalysisReturn.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **description** | **str** | A long form description of how the contrast was performed | [optional] **weights** | **List[float]** | Weight applied to each condition, must be the same length as the conditions attribute. | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/AnnotationReturn.md b/docs/AnnotationReturn.md index f6cd7b6..d1feb22 100644 --- a/docs/AnnotationReturn.md +++ b/docs/AnnotationReturn.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **description** | **str** | Long form description of the annotation. | [optional] **note_keys** | **object** | The keys (columns) in the annotation and the key's respective data type (such as an integer or string). | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/AnnotationReturnOneOf1.md b/docs/AnnotationReturnOneOf1.md index 7bcfbd3..3095f27 100644 --- a/docs/AnnotationReturnOneOf1.md +++ b/docs/AnnotationReturnOneOf1.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **metadata** | **object** | object describing metadata about the annotation, such as software used or descriptions of the keys used in the annotation. | [optional] **note_keys** | **object** | The keys (columns) in the annotation and the key's respective data type (such as an integer or string). | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/BaseStudiesPost200Response.md b/docs/BaseStudiesPost200Response.md index 949ac67..6bc7674 100644 --- a/docs/BaseStudiesPost200Response.md +++ b/docs/BaseStudiesPost200Response.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **year** | **int** | | [optional] **level** | **str** | | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/BaseStudyReturn.md b/docs/BaseStudyReturn.md index 8648c31..5bafde3 100644 --- a/docs/BaseStudyReturn.md +++ b/docs/BaseStudyReturn.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **year** | **int** | | [optional] **level** | **str** | | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/ConditionReturn.md b/docs/ConditionReturn.md index f96fa51..5940eac 100644 --- a/docs/ConditionReturn.md +++ b/docs/ConditionReturn.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **str** | Name of the condition being applied in the contrast, either psychological, pharmacological, or group based. | [optional] **description** | **str** | Long form description of how the condition is operationalized and/or specific meaning. | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/ImageReturn.md b/docs/ImageReturn.md index a501bd2..da1aecb 100644 --- a/docs/ImageReturn.md +++ b/docs/ImageReturn.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **entities** | [**List[Entity]**](Entity.md) | | [optional] **analysis_name** | **str** | | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/PointReturn.md b/docs/PointReturn.md index 0034102..c215bec 100644 --- a/docs/PointReturn.md +++ b/docs/PointReturn.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **kind** | **str** | Method of how point was derived (e.g., center of mass) | [optional] **label_id** | **str** | If the point is associated with an image, this is the value the point takes in that image. | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/ReadableResourceAttributes.md b/docs/ReadableResourceAttributes.md index e2c903f..780de97 100644 --- a/docs/ReadableResourceAttributes.md +++ b/docs/ReadableResourceAttributes.md @@ -6,7 +6,7 @@ common readable resource attributes Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] ## Example diff --git a/docs/ResourceAttributes.md b/docs/ResourceAttributes.md index 5395d85..7fa053c 100644 --- a/docs/ResourceAttributes.md +++ b/docs/ResourceAttributes.md @@ -6,7 +6,7 @@ common attributes for user owned resources Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/StoreApi.md b/docs/StoreApi.md index 9b2b11f..11f790c 100644 --- a/docs/StoreApi.md +++ b/docs/StoreApi.md @@ -2392,7 +2392,7 @@ void (empty response body) [[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) # **studysets_id_get** -> StudysetReturn studysets_id_get(id, nested=nested) +> StudysetReturn studysets_id_get(id, nested=nested, gzip=gzip) GET a studyset @@ -2421,10 +2421,11 @@ with neurostore_sdk.ApiClient(configuration) as api_client: api_instance = neurostore_sdk.StoreApi(api_client) id = 'id_example' # str | nested = True # bool | whether to show the URI to a resource (false) or to embed the object in the response (true) (optional) + gzip = True # bool | return the content as gzipped content (optional) try: # GET a studyset - api_response = api_instance.studysets_id_get(id, nested=nested) + api_response = api_instance.studysets_id_get(id, nested=nested, gzip=gzip) print("The response of StoreApi->studysets_id_get:\n") pprint(api_response) except Exception as e: @@ -2438,6 +2439,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | **nested** | **bool**| whether to show the URI to a resource (false) or to embed the object in the response (true) | [optional] + **gzip** | **bool**| return the content as gzipped content | [optional] ### Return type @@ -2450,7 +2452,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: application/json, application/gzip ### HTTP response details | Status code | Description | Response headers | diff --git a/docs/StudyReturn.md b/docs/StudyReturn.md index fb78e5f..0ab3676 100644 --- a/docs/StudyReturn.md +++ b/docs/StudyReturn.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **authors** | **str** | The authors on the publication of this study. | [optional] **year** | **int** | The year this study was published. | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/StudysetReturn.md b/docs/StudysetReturn.md index 7992659..74e7281 100644 --- a/docs/StudysetReturn.md +++ b/docs/StudysetReturn.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **doi** | **str** | A DOI connected to the published studyset (may change to being automatically created so each studyset connected to a successful meta-analysis gets a DOI). | [optional] **pmid** | **str** | If the article connected to the studyset was published on PubMed, then link the ID here. | [optional] **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] **user** | **str** | who owns the resource | [optional] [readonly] diff --git a/docs/StudysetsApi.md b/docs/StudysetsApi.md index 2b0747f..793069b 100644 --- a/docs/StudysetsApi.md +++ b/docs/StudysetsApi.md @@ -185,7 +185,7 @@ void (empty response body) [[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) # **studysets_id_get** -> StudysetReturn studysets_id_get(id, nested=nested) +> StudysetReturn studysets_id_get(id, nested=nested, gzip=gzip) GET a studyset @@ -214,10 +214,11 @@ with neurostore_sdk.ApiClient(configuration) as api_client: api_instance = neurostore_sdk.StudysetsApi(api_client) id = 'id_example' # str | nested = True # bool | whether to show the URI to a resource (false) or to embed the object in the response (true) (optional) + gzip = True # bool | return the content as gzipped content (optional) try: # GET a studyset - api_response = api_instance.studysets_id_get(id, nested=nested) + api_response = api_instance.studysets_id_get(id, nested=nested, gzip=gzip) print("The response of StudysetsApi->studysets_id_get:\n") pprint(api_response) except Exception as e: @@ -231,6 +232,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | **nested** | **bool**| whether to show the URI to a resource (false) or to embed the object in the response (true) | [optional] + **gzip** | **bool**| return the content as gzipped content | [optional] ### Return type @@ -243,7 +245,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: application/json, application/gzip ### HTTP response details | Status code | Description | Response headers | diff --git a/docs/UserlessResourceAttributes.md b/docs/UserlessResourceAttributes.md index e74c313..bfbc672 100644 --- a/docs/UserlessResourceAttributes.md +++ b/docs/UserlessResourceAttributes.md @@ -6,7 +6,7 @@ common resource attributes not tied to a specific user Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | **datetime** | time the resource was created on the database | [optional] [readonly] -**updated_at** | **str** | when was the resource last modified/updated. | [optional] [readonly] +**updated_at** | **str** | when the resource was last modified/updated. | [optional] [readonly] **id** | **str** | short UUID specifying the location of this resource | [optional] **public** | **bool** | whether the resource is listed in public searches or not | [optional] [default to True] diff --git a/neurostore_sdk/api/store_api.py b/neurostore_sdk/api/store_api.py index c473304..d67c98f 100644 --- a/neurostore_sdk/api/store_api.py +++ b/neurostore_sdk/api/store_api.py @@ -4851,20 +4851,22 @@ def studysets_id_delete_with_http_info(self, id : StrictStr, **kwargs) -> ApiRes _request_auth=_params.get('_request_auth')) @validate_arguments - def studysets_id_get(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, **kwargs) -> StudysetReturn: # noqa: E501 + def studysets_id_get(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, gzip : Annotated[Optional[StrictBool], Field(description="return the content as gzipped content")] = None, **kwargs) -> StudysetReturn: # noqa: E501 """GET a studyset # noqa: E501 Retrieve the information of a studyset with the matching studyset ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.studysets_id_get(id, nested, async_req=True) + >>> thread = api.studysets_id_get(id, nested, gzip, async_req=True) >>> result = thread.get() :param id: (required) :type id: str :param nested: whether to show the URI to a resource (false) or to embed the object in the response (true) :type nested: bool + :param gzip: return the content as gzipped content + :type gzip: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _request_timeout: timeout setting for this request. If one @@ -4879,23 +4881,25 @@ def studysets_id_get(self, id : StrictStr, nested : Annotated[Optional[StrictBoo kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: raise ValueError("Error! Please call the studysets_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.studysets_id_get_with_http_info(id, nested, **kwargs) # noqa: E501 + return self.studysets_id_get_with_http_info(id, nested, gzip, **kwargs) # noqa: E501 @validate_arguments - def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, **kwargs) -> ApiResponse: # noqa: E501 + def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, gzip : Annotated[Optional[StrictBool], Field(description="return the content as gzipped content")] = None, **kwargs) -> ApiResponse: # noqa: E501 """GET a studyset # noqa: E501 Retrieve the information of a studyset with the matching studyset ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.studysets_id_get_with_http_info(id, nested, async_req=True) + >>> thread = api.studysets_id_get_with_http_info(id, nested, gzip, async_req=True) >>> result = thread.get() :param id: (required) :type id: str :param nested: whether to show the URI to a resource (false) or to embed the object in the response (true) :type nested: bool + :param gzip: return the content as gzipped content + :type gzip: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the ApiResponse.data will @@ -4925,7 +4929,8 @@ def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Opt _all_params = [ 'id', - 'nested' + 'nested', + 'gzip' ] _all_params.extend( [ @@ -4962,6 +4967,9 @@ def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Opt if _params.get('nested') is not None: # noqa: E501 _query_params.append(('nested', _params['nested'])) + if _params.get('gzip') is not None: # noqa: E501 + _query_params.append(('gzip', _params['gzip'])) + # process the header parameters _header_params = dict(_params.get('_headers', {})) # process the form parameters @@ -4971,7 +4979,7 @@ def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Opt _body_params = None # set the HTTP header `Accept` _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', 'application/gzip']) # noqa: E501 # authentication setting _auth_settings = [] # noqa: E501 diff --git a/neurostore_sdk/api/studysets_api.py b/neurostore_sdk/api/studysets_api.py index d939243..138ba2f 100644 --- a/neurostore_sdk/api/studysets_api.py +++ b/neurostore_sdk/api/studysets_api.py @@ -417,20 +417,22 @@ def studysets_id_delete_with_http_info(self, id : StrictStr, **kwargs) -> ApiRes _request_auth=_params.get('_request_auth')) @validate_arguments - def studysets_id_get(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, **kwargs) -> StudysetReturn: # noqa: E501 + def studysets_id_get(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, gzip : Annotated[Optional[StrictBool], Field(description="return the content as gzipped content")] = None, **kwargs) -> StudysetReturn: # noqa: E501 """GET a studyset # noqa: E501 Retrieve the information of a studyset with the matching studyset ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.studysets_id_get(id, nested, async_req=True) + >>> thread = api.studysets_id_get(id, nested, gzip, async_req=True) >>> result = thread.get() :param id: (required) :type id: str :param nested: whether to show the URI to a resource (false) or to embed the object in the response (true) :type nested: bool + :param gzip: return the content as gzipped content + :type gzip: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _request_timeout: timeout setting for this request. If one @@ -445,23 +447,25 @@ def studysets_id_get(self, id : StrictStr, nested : Annotated[Optional[StrictBoo kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: raise ValueError("Error! Please call the studysets_id_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.studysets_id_get_with_http_info(id, nested, **kwargs) # noqa: E501 + return self.studysets_id_get_with_http_info(id, nested, gzip, **kwargs) # noqa: E501 @validate_arguments - def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, **kwargs) -> ApiResponse: # noqa: E501 + def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Optional[StrictBool], Field(description="whether to show the URI to a resource (false) or to embed the object in the response (true)")] = None, gzip : Annotated[Optional[StrictBool], Field(description="return the content as gzipped content")] = None, **kwargs) -> ApiResponse: # noqa: E501 """GET a studyset # noqa: E501 Retrieve the information of a studyset with the matching studyset ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.studysets_id_get_with_http_info(id, nested, async_req=True) + >>> thread = api.studysets_id_get_with_http_info(id, nested, gzip, async_req=True) >>> result = thread.get() :param id: (required) :type id: str :param nested: whether to show the URI to a resource (false) or to embed the object in the response (true) :type nested: bool + :param gzip: return the content as gzipped content + :type gzip: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the ApiResponse.data will @@ -491,7 +495,8 @@ def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Opt _all_params = [ 'id', - 'nested' + 'nested', + 'gzip' ] _all_params.extend( [ @@ -528,6 +533,9 @@ def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Opt if _params.get('nested') is not None: # noqa: E501 _query_params.append(('nested', _params['nested'])) + if _params.get('gzip') is not None: # noqa: E501 + _query_params.append(('gzip', _params['gzip'])) + # process the header parameters _header_params = dict(_params.get('_headers', {})) # process the form parameters @@ -537,7 +545,7 @@ def studysets_id_get_with_http_info(self, id : StrictStr, nested : Annotated[Opt _body_params = None # set the HTTP header `Accept` _header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', 'application/gzip']) # noqa: E501 # authentication setting _auth_settings = [] # noqa: E501 diff --git a/neurostore_sdk/models/analysis_return.py b/neurostore_sdk/models/analysis_return.py index 866cee7..49be015 100644 --- a/neurostore_sdk/models/analysis_return.py +++ b/neurostore_sdk/models/analysis_return.py @@ -34,7 +34,7 @@ class AnalysisReturn(BaseModel): description: Optional[StrictStr] = Field(None, description="A long form description of how the contrast was performed") weights: Optional[conlist(Union[StrictFloat, StrictInt])] = Field(None, description="Weight applied to each condition, must be the same length as the conditions attribute.") created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/annotation_return_one_of1.py b/neurostore_sdk/models/annotation_return_one_of1.py index cb40ff3..2c07080 100644 --- a/neurostore_sdk/models/annotation_return_one_of1.py +++ b/neurostore_sdk/models/annotation_return_one_of1.py @@ -32,7 +32,7 @@ class AnnotationReturnOneOf1(BaseModel): metadata: Optional[Dict[str, Any]] = Field(None, description="object describing metadata about the annotation, such as software used or descriptions of the keys used in the annotation.") note_keys: Optional[Dict[str, Any]] = Field(None, description="The keys (columns) in the annotation and the key's respective data type (such as an integer or string).") created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/base_study_return.py b/neurostore_sdk/models/base_study_return.py index c5ad2ec..a0a60a3 100644 --- a/neurostore_sdk/models/base_study_return.py +++ b/neurostore_sdk/models/base_study_return.py @@ -38,7 +38,7 @@ class BaseStudyReturn(BaseModel): year: Optional[StrictInt] = None level: Optional[StrictStr] = None created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/condition_return.py b/neurostore_sdk/models/condition_return.py index a9cd71e..e1daf4d 100644 --- a/neurostore_sdk/models/condition_return.py +++ b/neurostore_sdk/models/condition_return.py @@ -29,7 +29,7 @@ class ConditionReturn(BaseModel): name: Optional[StrictStr] = Field(None, description="Name of the condition being applied in the contrast, either psychological, pharmacological, or group based.") description: Optional[StrictStr] = Field(None, description="Long form description of how the condition is operationalized and/or specific meaning.") created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/image_return.py b/neurostore_sdk/models/image_return.py index f017085..edf8647 100644 --- a/neurostore_sdk/models/image_return.py +++ b/neurostore_sdk/models/image_return.py @@ -37,7 +37,7 @@ class ImageReturn(BaseModel): entities: Optional[conlist(Entity)] = None analysis_name: Optional[StrictStr] = None created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/point_return.py b/neurostore_sdk/models/point_return.py index d05adc5..581a22e 100644 --- a/neurostore_sdk/models/point_return.py +++ b/neurostore_sdk/models/point_return.py @@ -33,7 +33,7 @@ class PointReturn(BaseModel): kind: Optional[StrictStr] = Field(None, description="Method of how point was derived (e.g., center of mass)") label_id: Optional[StrictStr] = Field(None, description="If the point is associated with an image, this is the value the point takes in that image.") created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/readable_resource_attributes.py b/neurostore_sdk/models/readable_resource_attributes.py index c1caaaa..e67d0cf 100644 --- a/neurostore_sdk/models/readable_resource_attributes.py +++ b/neurostore_sdk/models/readable_resource_attributes.py @@ -27,7 +27,7 @@ class ReadableResourceAttributes(BaseModel): common readable resource attributes """ created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") __properties = ["created_at", "updated_at"] class Config: diff --git a/neurostore_sdk/models/resource_attributes.py b/neurostore_sdk/models/resource_attributes.py index 4291ceb..6061b78 100644 --- a/neurostore_sdk/models/resource_attributes.py +++ b/neurostore_sdk/models/resource_attributes.py @@ -27,7 +27,7 @@ class ResourceAttributes(BaseModel): common attributes for user owned resources """ created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/study_return.py b/neurostore_sdk/models/study_return.py index 5957186..9704762 100644 --- a/neurostore_sdk/models/study_return.py +++ b/neurostore_sdk/models/study_return.py @@ -37,7 +37,7 @@ class StudyReturn(BaseModel): authors: Optional[StrictStr] = Field(None, description="The authors on the publication of this study.") year: Optional[conint(strict=True, le=9999, ge=0)] = Field(None, description="The year this study was published.") created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/studyset_return.py b/neurostore_sdk/models/studyset_return.py index f6cabae..aef1eea 100644 --- a/neurostore_sdk/models/studyset_return.py +++ b/neurostore_sdk/models/studyset_return.py @@ -33,7 +33,7 @@ class StudysetReturn(BaseModel): doi: Optional[StrictStr] = Field(None, description="A DOI connected to the published studyset (may change to being automatically created so each studyset connected to a successful meta-analysis gets a DOI).") pmid: Optional[StrictStr] = Field(None, description="If the article connected to the studyset was published on PubMed, then link the ID here.") created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") user: Optional[StrictStr] = Field(None, description="who owns the resource") diff --git a/neurostore_sdk/models/userless_resource_attributes.py b/neurostore_sdk/models/userless_resource_attributes.py index bb9eba2..36a0915 100644 --- a/neurostore_sdk/models/userless_resource_attributes.py +++ b/neurostore_sdk/models/userless_resource_attributes.py @@ -27,7 +27,7 @@ class UserlessResourceAttributes(BaseModel): common resource attributes not tied to a specific user """ created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") - updated_at: Optional[StrictStr] = Field(None, description="when was the resource last modified/updated.") + updated_at: Optional[StrictStr] = Field(None, description="when the resource was last modified/updated.") id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") public: Optional[StrictBool] = Field(True, description="whether the resource is listed in public searches or not") __properties = ["created_at", "updated_at", "id", "public"]