Skip to content

Commit 41c3bd5

Browse files
a312c2ebe62302948db91b839dd10999d3a29e43
1 parent 4845568 commit 41c3bd5

File tree

8 files changed

+31
-47
lines changed

8 files changed

+31
-47
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -171,47 +171,4 @@ setup.py
171171
test-requirements.txt
172172
test/__init__.py
173173
test/test_models/__init__.py
174-
test/test_models/test_annotation.py
175-
test/test_models/test_annotation_list.py
176-
test/test_models/test_annotation_post_body.py
177-
test/test_models/test_annotation_return.py
178-
test/test_models/test_annotation_update.py
179-
test/test_models/test_corrector.py
180-
test/test_models/test_estimator.py
181-
test/test_models/test_meta_analysis.py
182-
test/test_models/test_meta_analysis_list.py
183-
test/test_models/test_meta_analysis_post_body.py
184-
test/test_models/test_meta_analysis_return.py
185-
test/test_models/test_neurostore_analysis.py
186-
test/test_models/test_neurostore_study.py
187-
test/test_models/test_neurostore_study_list.py
188-
test/test_models/test_neurostore_study_return.py
189-
test/test_models/test_neurovault_collection.py
190-
test/test_models/test_neurovault_collection_return.py
191-
test/test_models/test_neurovault_file.py
192-
test/test_models/test_neurovault_file_list.py
193-
test/test_models/test_neurovault_file_return.py
194-
test/test_models/test_neurovault_list.py
195-
test/test_models/test_project.py
196-
test/test_models/test_project_list.py
197-
test/test_models/test_project_return.py
198-
test/test_models/test_read_only.py
199-
test/test_models/test_result.py
200-
test/test_models/test_result_init.py
201-
test/test_models/test_result_list.py
202-
test/test_models/test_result_return.py
203-
test/test_models/test_specification.py
204-
test/test_models/test_specification_list.py
205-
test/test_models/test_specification_post_body.py
206-
test/test_models/test_specification_return.py
207-
test/test_models/test_studyset.py
208-
test/test_models/test_studyset_list.py
209-
test/test_models/test_studyset_post_body.py
210-
test/test_models/test_studyset_reference.py
211-
test/test_models/test_studyset_reference_list.py
212-
test/test_models/test_studyset_reference_return.py
213-
test/test_models/test_studyset_return.py
214-
test/test_models/test_user.py
215-
test/test_models/test_user_list.py
216-
test/test_models/test_user_return.py
217174
tox.ini

docs/apis/tags/ComposeApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,6 +2986,7 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
29862986
status="status_example",
29872987
),
29882988
neurostore_url="neurostore_url_example",
2989+
draft=True,
29892990
)
29902991
try:
29912992
api_response = api_instance.projects_id_put(
@@ -3113,6 +3114,7 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
31133114
status="status_example",
31143115
),
31153116
neurostore_url="neurostore_url_example",
3117+
draft=True,
31163118
)
31173119
try:
31183120
api_response = api_instance.projects_post(

docs/apis/tags/PostApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
687687
status="status_example",
688688
),
689689
neurostore_url="neurostore_url_example",
690+
draft=True,
690691
)
691692
try:
692693
api_response = api_instance.projects_post(

docs/apis/tags/ProjectsApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
454454
status="status_example",
455455
),
456456
neurostore_url="neurostore_url_example",
457+
draft=True,
457458
)
458459
try:
459460
api_response = api_instance.projects_id_put(
@@ -581,6 +582,7 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
581582
status="status_example",
582583
),
583584
neurostore_url="neurostore_url_example",
585+
draft=True,
584586
)
585587
try:
586588
api_response = api_instance.projects_post(

docs/apis/tags/PutApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ with neurosynth_compose_sdk.ApiClient(configuration) as api_client:
921921
status="status_example",
922922
),
923923
neurostore_url="neurostore_url_example",
924+
draft=True,
924925
)
925926
try:
926927
api_response = api_instance.projects_id_put(

docs/models/Project.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Key | Input Type | Accessed Type | Description | Notes
1515
**public** | bool, | BoolClass, | whether the project is public or private | [optional]
1616
**neurostore_study** | [**NeurostoreStudy**](NeurostoreStudy.md) | [**NeurostoreStudy**](NeurostoreStudy.md) | | [optional]
1717
**neurostore_url** | None, str, | NoneClass, str, | | [optional]
18+
**draft** | bool, | BoolClass, | | [optional]
1819
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
1920

2021
# provenance

neurosynth_compose_sdk/model/project.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ def __new__(
211211
*_args,
212212
_configuration=_configuration,
213213
)
214+
draft = schemas.BoolSchema
214215
__annotations__ = {
215216
"provenance": provenance,
216217
"meta_analyses": meta_analyses,
@@ -219,6 +220,7 @@ def __new__(
219220
"public": public,
220221
"neurostore_study": neurostore_study,
221222
"neurostore_url": neurostore_url,
223+
"draft": draft,
222224
}
223225

224226
@typing.overload
@@ -242,10 +244,13 @@ def __getitem__(self, name: typing_extensions.Literal["neurostore_study"]) -> 'N
242244
@typing.overload
243245
def __getitem__(self, name: typing_extensions.Literal["neurostore_url"]) -> MetaOapg.properties.neurostore_url: ...
244246

247+
@typing.overload
248+
def __getitem__(self, name: typing_extensions.Literal["draft"]) -> MetaOapg.properties.draft: ...
249+
245250
@typing.overload
246251
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
247252

248-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", ], str]):
253+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", "draft", ], str]):
249254
# dict_instance[name] accessor
250255
return super().__getitem__(name)
251256

@@ -271,10 +276,13 @@ def get_item_oapg(self, name: typing_extensions.Literal["neurostore_study"]) ->
271276
@typing.overload
272277
def get_item_oapg(self, name: typing_extensions.Literal["neurostore_url"]) -> typing.Union[MetaOapg.properties.neurostore_url, schemas.Unset]: ...
273278

279+
@typing.overload
280+
def get_item_oapg(self, name: typing_extensions.Literal["draft"]) -> typing.Union[MetaOapg.properties.draft, schemas.Unset]: ...
281+
274282
@typing.overload
275283
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
276284

277-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", ], str]):
285+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", "draft", ], str]):
278286
return super().get_item_oapg(name)
279287

280288

@@ -288,6 +296,7 @@ def __new__(
288296
public: typing.Union[MetaOapg.properties.public, bool, schemas.Unset] = schemas.unset,
289297
neurostore_study: typing.Union['NeurostoreStudy', schemas.Unset] = schemas.unset,
290298
neurostore_url: typing.Union[MetaOapg.properties.neurostore_url, None, str, schemas.Unset] = schemas.unset,
299+
draft: typing.Union[MetaOapg.properties.draft, bool, schemas.Unset] = schemas.unset,
291300
_configuration: typing.Optional[schemas.Configuration] = None,
292301
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
293302
) -> 'Project':
@@ -301,6 +310,7 @@ def __new__(
301310
public=public,
302311
neurostore_study=neurostore_study,
303312
neurostore_url=neurostore_url,
313+
draft=draft,
304314
_configuration=_configuration,
305315
**kwargs,
306316
)

neurosynth_compose_sdk/model/project.pyi

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ class Project(
210210
*_args,
211211
_configuration=_configuration,
212212
)
213+
draft = schemas.BoolSchema
213214
__annotations__ = {
214215
"provenance": provenance,
215216
"meta_analyses": meta_analyses,
@@ -218,6 +219,7 @@ class Project(
218219
"public": public,
219220
"neurostore_study": neurostore_study,
220221
"neurostore_url": neurostore_url,
222+
"draft": draft,
221223
}
222224

223225
@typing.overload
@@ -241,10 +243,13 @@ class Project(
241243
@typing.overload
242244
def __getitem__(self, name: typing_extensions.Literal["neurostore_url"]) -> MetaOapg.properties.neurostore_url: ...
243245

246+
@typing.overload
247+
def __getitem__(self, name: typing_extensions.Literal["draft"]) -> MetaOapg.properties.draft: ...
248+
244249
@typing.overload
245250
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
246251

247-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", ], str]):
252+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", "draft", ], str]):
248253
# dict_instance[name] accessor
249254
return super().__getitem__(name)
250255

@@ -270,10 +275,13 @@ class Project(
270275
@typing.overload
271276
def get_item_oapg(self, name: typing_extensions.Literal["neurostore_url"]) -> typing.Union[MetaOapg.properties.neurostore_url, schemas.Unset]: ...
272277

278+
@typing.overload
279+
def get_item_oapg(self, name: typing_extensions.Literal["draft"]) -> typing.Union[MetaOapg.properties.draft, schemas.Unset]: ...
280+
273281
@typing.overload
274282
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
275283

276-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", ], str]):
284+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["provenance", "meta_analyses", "name", "description", "public", "neurostore_study", "neurostore_url", "draft", ], str]):
277285
return super().get_item_oapg(name)
278286

279287

@@ -287,6 +295,7 @@ class Project(
287295
public: typing.Union[MetaOapg.properties.public, bool, schemas.Unset] = schemas.unset,
288296
neurostore_study: typing.Union['NeurostoreStudy', schemas.Unset] = schemas.unset,
289297
neurostore_url: typing.Union[MetaOapg.properties.neurostore_url, None, str, schemas.Unset] = schemas.unset,
298+
draft: typing.Union[MetaOapg.properties.draft, bool, schemas.Unset] = schemas.unset,
290299
_configuration: typing.Optional[schemas.Configuration] = None,
291300
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
292301
) -> 'Project':
@@ -300,6 +309,7 @@ class Project(
300309
public=public,
301310
neurostore_study=neurostore_study,
302311
neurostore_url=neurostore_url,
312+
draft=draft,
303313
_configuration=_configuration,
304314
**kwargs,
305315
)

0 commit comments

Comments
 (0)