Skip to content

Commit

Permalink
c04c7547f6ed906d889743bec1febe000a6dd894
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 13, 2024
1 parent 636bcb7 commit 8a7a834
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 20 deletions.
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_note_collection_list.py
tox.ini
2 changes: 1 addition & 1 deletion neurostore_sdk/models/analysis_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/analysis_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/annotation_request_one_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/annotation_return_one_of1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/base_study_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/condition_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/condition_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/image_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/image_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/note_collection_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/point_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/point_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/resource_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/study_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/study_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/studyset_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/studyset_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/userless_resource_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion neurostore_sdk/models/writeable_resource_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 8a7a834

Please sign in to comment.