From 084319f49b257c90d954beaca989c4731172f465 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:33:27 +0000 Subject: [PATCH] 6c9b48a7bbb92d51f018e0c8b39e815107589e61 --- neurostore_sdk/models/analysis_request.py | 2 +- neurostore_sdk/models/analysis_return.py | 2 +- neurostore_sdk/models/annotation_request_one_of.py | 2 +- neurostore_sdk/models/annotation_return_one_of1.py | 2 +- neurostore_sdk/models/base_study_return.py | 2 +- neurostore_sdk/models/condition_request.py | 2 +- neurostore_sdk/models/condition_return.py | 2 +- neurostore_sdk/models/image_request.py | 2 +- neurostore_sdk/models/image_return.py | 2 +- neurostore_sdk/models/note_collection_request.py | 2 +- neurostore_sdk/models/point_request.py | 2 +- neurostore_sdk/models/point_return.py | 2 +- neurostore_sdk/models/resource_attributes.py | 2 +- neurostore_sdk/models/study_request.py | 2 +- neurostore_sdk/models/study_return.py | 2 +- neurostore_sdk/models/studyset_request.py | 2 +- neurostore_sdk/models/studyset_return.py | 2 +- neurostore_sdk/models/userless_resource_attributes.py | 2 +- neurostore_sdk/models/writeable_resource_attributes.py | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/neurostore_sdk/models/analysis_request.py b/neurostore_sdk/models/analysis_request.py index 016e436..8676466 100644 --- a/neurostore_sdk/models/analysis_request.py +++ b/neurostore_sdk/models/analysis_request.py @@ -37,7 +37,7 @@ class AnalysisRequest(BaseModel): images: Optional[AnalysisRequestRelationshipsImages] = None points: Optional[AnalysisRequestRelationshipsPoints] = None conditions: Optional[AnalysisRequestRelationshipsConditions] = None - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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") entities: Optional[conlist(Entity)] = None order: Optional[StrictInt] = None diff --git a/neurostore_sdk/models/analysis_return.py b/neurostore_sdk/models/analysis_return.py index 116e6d3..ac56917 100644 --- a/neurostore_sdk/models/analysis_return.py +++ b/neurostore_sdk/models/analysis_return.py @@ -35,7 +35,7 @@ class AnalysisReturn(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/annotation_request_one_of.py b/neurostore_sdk/models/annotation_request_one_of.py index 42cf2b2..c652459 100644 --- a/neurostore_sdk/models/annotation_request_one_of.py +++ b/neurostore_sdk/models/annotation_request_one_of.py @@ -32,7 +32,7 @@ class AnnotationRequestOneOf(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).") notes: Optional[AnnotationRequestRelationshipsNotes] = None - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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") studyset: Optional[StrictStr] = None __properties = ["name", "description", "metadata", "note_keys", "notes", "id", "public", "studyset"] diff --git a/neurostore_sdk/models/annotation_return_one_of1.py b/neurostore_sdk/models/annotation_return_one_of1.py index 2c07080..032a7a9 100644 --- a/neurostore_sdk/models/annotation_return_one_of1.py +++ b/neurostore_sdk/models/annotation_return_one_of1.py @@ -33,7 +33,7 @@ class AnnotationReturnOneOf1(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/base_study_return.py b/neurostore_sdk/models/base_study_return.py index 28f76bc..fcf8b88 100644 --- a/neurostore_sdk/models/base_study_return.py +++ b/neurostore_sdk/models/base_study_return.py @@ -40,7 +40,7 @@ class BaseStudyReturn(BaseModel): pmcid: 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/condition_request.py b/neurostore_sdk/models/condition_request.py index d7f88a4..8b865be 100644 --- a/neurostore_sdk/models/condition_request.py +++ b/neurostore_sdk/models/condition_request.py @@ -28,7 +28,7 @@ class ConditionRequest(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.") - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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 = ["name", "description", "id", "public"] diff --git a/neurostore_sdk/models/condition_return.py b/neurostore_sdk/models/condition_return.py index e1daf4d..cf50c36 100644 --- a/neurostore_sdk/models/condition_return.py +++ b/neurostore_sdk/models/condition_return.py @@ -30,7 +30,7 @@ class ConditionReturn(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/image_request.py b/neurostore_sdk/models/image_request.py index ef93f85..018842d 100644 --- a/neurostore_sdk/models/image_request.py +++ b/neurostore_sdk/models/image_request.py @@ -36,7 +36,7 @@ class ImageRequest(BaseModel): analysis: Optional[StrictStr] = None entities: Optional[conlist(Entity)] = None analysis_name: Optional[StrictStr] = None - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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 = ["metadata", "url", "filename", "space", "value_type", "add_date", "analysis", "entities", "analysis_name", "id", "public"] diff --git a/neurostore_sdk/models/image_return.py b/neurostore_sdk/models/image_return.py index edf8647..d23d3dc 100644 --- a/neurostore_sdk/models/image_return.py +++ b/neurostore_sdk/models/image_return.py @@ -38,7 +38,7 @@ class ImageReturn(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/note_collection_request.py b/neurostore_sdk/models/note_collection_request.py index 59f057f..a11af1d 100644 --- a/neurostore_sdk/models/note_collection_request.py +++ b/neurostore_sdk/models/note_collection_request.py @@ -27,7 +27,7 @@ class NoteCollectionRequest(BaseModel): NoteCollectionRequest """ note: Optional[Dict[str, Any]] = Field(None, description="The note will contain all note_keys as keys and have a value of either null or the value type specified in note_keys.") - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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 = ["note", "id", "public"] diff --git a/neurostore_sdk/models/point_request.py b/neurostore_sdk/models/point_request.py index 0c9a870..7cdae18 100644 --- a/neurostore_sdk/models/point_request.py +++ b/neurostore_sdk/models/point_request.py @@ -38,7 +38,7 @@ class PointRequest(BaseModel): y: Optional[Union[StrictFloat, StrictInt]] = None z: Optional[Union[StrictFloat, StrictInt]] = None entities: Optional[conlist(Entity)] = None - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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") analysis: Optional[StrictStr] = None cluster_size: Optional[Union[StrictFloat, StrictInt]] = Field(None, description="size of the cluster in cubic millimeters") diff --git a/neurostore_sdk/models/point_return.py b/neurostore_sdk/models/point_return.py index 581a22e..af3cac2 100644 --- a/neurostore_sdk/models/point_return.py +++ b/neurostore_sdk/models/point_return.py @@ -34,7 +34,7 @@ class PointReturn(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/resource_attributes.py b/neurostore_sdk/models/resource_attributes.py index 6061b78..b0cca9d 100644 --- a/neurostore_sdk/models/resource_attributes.py +++ b/neurostore_sdk/models/resource_attributes.py @@ -28,7 +28,7 @@ class ResourceAttributes(BaseModel): """ created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/study_request.py b/neurostore_sdk/models/study_request.py index 1f74d93..5aabe8a 100644 --- a/neurostore_sdk/models/study_request.py +++ b/neurostore_sdk/models/study_request.py @@ -36,7 +36,7 @@ class StudyRequest(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.") analyses: Optional[StudyRequestRelationshipsAnalyses] = None - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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") pmcid: Optional[StrictStr] = None __properties = ["doi", "name", "metadata", "description", "publication", "pmid", "authors", "year", "analyses", "id", "public", "pmcid"] diff --git a/neurostore_sdk/models/study_return.py b/neurostore_sdk/models/study_return.py index d2d6745..0128b3c 100644 --- a/neurostore_sdk/models/study_return.py +++ b/neurostore_sdk/models/study_return.py @@ -38,7 +38,7 @@ class StudyReturn(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/studyset_request.py b/neurostore_sdk/models/studyset_request.py index 1024c81..81ff75e 100644 --- a/neurostore_sdk/models/studyset_request.py +++ b/neurostore_sdk/models/studyset_request.py @@ -32,7 +32,7 @@ class StudysetRequest(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.") studies: Optional[conlist(Any)] = None - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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") level: Optional[StrictStr] = None __properties = ["name", "description", "publication", "doi", "pmid", "studies", "id", "public", "level"] diff --git a/neurostore_sdk/models/studyset_return.py b/neurostore_sdk/models/studyset_return.py index aef1eea..73905a1 100644 --- a/neurostore_sdk/models/studyset_return.py +++ b/neurostore_sdk/models/studyset_return.py @@ -34,7 +34,7 @@ class StudysetReturn(BaseModel): 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 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") + id: Optional[constr(strict=True, max_length=30, 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") username: Optional[StrictStr] = Field(None, description="human readable username") diff --git a/neurostore_sdk/models/userless_resource_attributes.py b/neurostore_sdk/models/userless_resource_attributes.py index 36a0915..9bdad34 100644 --- a/neurostore_sdk/models/userless_resource_attributes.py +++ b/neurostore_sdk/models/userless_resource_attributes.py @@ -28,7 +28,7 @@ class UserlessResourceAttributes(BaseModel): """ created_at: Optional[datetime] = Field(None, description="time the resource was created on the database") 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") + id: Optional[constr(strict=True, max_length=30, 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"] diff --git a/neurostore_sdk/models/writeable_resource_attributes.py b/neurostore_sdk/models/writeable_resource_attributes.py index 0b59c52..5aeb1d7 100644 --- a/neurostore_sdk/models/writeable_resource_attributes.py +++ b/neurostore_sdk/models/writeable_resource_attributes.py @@ -26,7 +26,7 @@ class WriteableResourceAttributes(BaseModel): """ common resource attributes """ - id: Optional[constr(strict=True, max_length=12, min_length=12)] = Field(None, description="short UUID specifying the location of this resource") + id: Optional[constr(strict=True, max_length=30, 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 = ["id", "public"]