Skip to content

Commit 0704ba2

Browse files
40a83e2791540d7da6b58e309d43b232a7bdfcf8
1 parent ba8ce7b commit 0704ba2

File tree

5 files changed

+12
-70
lines changed

5 files changed

+12
-70
lines changed

Diff for: .openapi-generator/FILES

-66
Original file line numberDiff line numberDiff line change
@@ -150,70 +150,4 @@ setup.cfg
150150
setup.py
151151
test-requirements.txt
152152
test/__init__.py
153-
test/test_annotation.py
154-
test/test_annotation_list.py
155-
test/test_annotation_post_body.py
156-
test/test_annotation_return.py
157-
test/test_annotation_update.py
158-
test/test_annotation_update_all_of.py
159-
test/test_annotations_api.py
160-
test/test_compose_api.py
161-
test/test_corrector.py
162-
test/test_default_api.py
163-
test/test_estimator.py
164-
test/test_get_api.py
165-
test/test_meta_analyses_api.py
166-
test/test_meta_analyses_get400_response.py
167-
test/test_meta_analysis.py
168-
test/test_meta_analysis_annotation.py
169-
test/test_meta_analysis_list.py
170-
test/test_meta_analysis_post_body.py
171-
test/test_meta_analysis_results.py
172-
test/test_meta_analysis_return.py
173-
test/test_meta_analysis_specification.py
174-
test/test_meta_analysis_studyset.py
175-
test/test_neurostore_analysis.py
176-
test/test_neurostore_study.py
177-
test/test_neurostore_study_list.py
178-
test/test_neurostore_study_return.py
179-
test/test_neurovault_api.py
180-
test/test_neurovault_collection.py
181-
test/test_neurovault_collection_files.py
182-
test/test_neurovault_collection_return.py
183-
test/test_neurovault_file.py
184-
test/test_neurovault_file_list.py
185-
test/test_neurovault_file_return.py
186-
test/test_neurovault_list.py
187-
test/test_post_api.py
188-
test/test_project.py
189-
test/test_project_list.py
190-
test/test_project_meta_analyses.py
191-
test/test_project_return.py
192-
test/test_projects_api.py
193-
test/test_put_api.py
194-
test/test_read_only.py
195-
test/test_result.py
196-
test/test_result_init.py
197-
test/test_result_list.py
198-
test/test_result_list_results.py
199-
test/test_result_return.py
200-
test/test_specification.py
201-
test/test_specification_conditions.py
202-
test/test_specification_list.py
203-
test/test_specification_post_body.py
204-
test/test_specification_return.py
205-
test/test_specifications_api.py
206-
test/test_studyset.py
207-
test/test_studyset_list.py
208-
test/test_studyset_post_body.py
209-
test/test_studyset_reference.py
210-
test/test_studyset_reference_list.py
211-
test/test_studyset_reference_return.py
212-
test/test_studyset_reference_snapshots_inner.py
213-
test/test_studyset_return.py
214-
test/test_studysets_api.py
215-
test/test_user.py
216-
test/test_user_list.py
217-
test/test_user_return.py
218-
test/test_users_api.py
219153
tox.ini

Diff for: docs/Project.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**public** | **bool** | whether the project is public or private | [optional]
1212
**neurostore_study** | [**NeurostoreStudy**](NeurostoreStudy.md) | | [optional]
1313
**neurostore_url** | **str** | | [optional]
14+
**draft** | **bool** | | [optional] [readonly]
1415

1516
## Example
1617

Diff for: docs/ProjectReturn.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**public** | **bool** | whether the project is public or private | [optional]
1717
**neurostore_study** | [**NeurostoreStudy**](NeurostoreStudy.md) | | [optional]
1818
**neurostore_url** | **str** | | [optional]
19+
**draft** | **bool** | | [optional] [readonly]
1920

2021
## Example
2122

Diff for: neurosynth_compose_sdk/models/project.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ class Project(BaseModel):
3535
public: Optional[StrictBool] = Field(None, description="whether the project is public or private")
3636
neurostore_study: Optional[NeurostoreStudy] = None
3737
neurostore_url: Optional[StrictStr] = None
38-
__properties = ["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url"]
38+
draft: Optional[StrictBool] = None
39+
__properties = ["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", "draft"]
3940

4041
class Config:
4142
"""Pydantic configuration"""
@@ -59,6 +60,7 @@ def to_dict(self):
5960
"""Returns the dictionary representation of the model using alias"""
6061
_dict = self.dict(by_alias=True,
6162
exclude={
63+
"draft",
6264
},
6365
exclude_none=True)
6466
# override the default output from pydantic by calling `to_dict()` of meta_analyses
@@ -105,7 +107,8 @@ def from_dict(cls, obj: dict) -> Project:
105107
"description": obj.get("description"),
106108
"public": obj.get("public"),
107109
"neurostore_study": NeurostoreStudy.from_dict(obj.get("neurostore_study")) if obj.get("neurostore_study") is not None else None,
108-
"neurostore_url": obj.get("neurostore_url")
110+
"neurostore_url": obj.get("neurostore_url"),
111+
"draft": obj.get("draft")
109112
})
110113
return _obj
111114

Diff for: neurosynth_compose_sdk/models/project_return.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ class ProjectReturn(BaseModel):
4040
public: Optional[StrictBool] = Field(None, description="whether the project is public or private")
4141
neurostore_study: Optional[NeurostoreStudy] = None
4242
neurostore_url: Optional[StrictStr] = None
43-
__properties = ["id", "updated_at", "created_at", "user", "username", "provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url"]
43+
draft: Optional[StrictBool] = None
44+
__properties = ["id", "updated_at", "created_at", "user", "username", "provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", "draft"]
4445

4546
class Config:
4647
"""Pydantic configuration"""
@@ -67,6 +68,7 @@ def to_dict(self):
6768
"updated_at",
6869
"created_at",
6970
"username",
71+
"draft",
7072
},
7173
exclude_none=True)
7274
# override the default output from pydantic by calling `to_dict()` of meta_analyses
@@ -133,7 +135,8 @@ def from_dict(cls, obj: dict) -> ProjectReturn:
133135
"description": obj.get("description"),
134136
"public": obj.get("public"),
135137
"neurostore_study": NeurostoreStudy.from_dict(obj.get("neurostore_study")) if obj.get("neurostore_study") is not None else None,
136-
"neurostore_url": obj.get("neurostore_url")
138+
"neurostore_url": obj.get("neurostore_url"),
139+
"draft": obj.get("draft")
137140
})
138141
return _obj
139142

0 commit comments

Comments
 (0)