Skip to content

Commit 7381802

Browse files
f49f82321a5cc878ad6082454e8a77a689e74257
1 parent 1a6ba7f commit 7381802

40 files changed

+1350
-89
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ docs/PipelineConfigsApi.md
6464
docs/PipelineList.md
6565
docs/PipelineStudyResult.md
6666
docs/PipelineStudyResultList.md
67+
docs/PipelineStudyResultPost.md
68+
docs/PipelineStudyResultSearch.md
6769
docs/PipelineStudyResultsApi.md
6870
docs/PipelinesApi.md
6971
docs/PointBase.md
@@ -179,6 +181,8 @@ neurostore_sdk/models/pipeline_config_list.py
179181
neurostore_sdk/models/pipeline_list.py
180182
neurostore_sdk/models/pipeline_study_result.py
181183
neurostore_sdk/models/pipeline_study_result_list.py
184+
neurostore_sdk/models/pipeline_study_result_post.py
185+
neurostore_sdk/models/pipeline_study_result_search.py
182186
neurostore_sdk/models/point_base.py
183187
neurostore_sdk/models/point_common.py
184188
neurostore_sdk/models/point_list.py
@@ -219,4 +223,6 @@ setup.cfg
219223
setup.py
220224
test-requirements.txt
221225
test/__init__.py
226+
test/test_pipeline_study_result_post.py
227+
test/test_pipeline_study_result_search.py
222228
tox.ini

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,14 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
7373
page = 56 # int | page of results (optional)
7474
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
7575
page_size = 56 # int | number of results to show on a page (optional)
76+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
7677
name = 'name_example' # str | search the name field for a term (optional)
7778
description = 'description_example' # str | search description field for a term (optional)
7879
nested = True # bool | whether to show the URI to a resource (false) or to embed the object in the response (true) (optional)
7980

8081
try:
8182
# GET list of analyses
82-
api_response = api_instance.analyses_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, name=name, description=description, nested=nested)
83+
api_response = api_instance.analyses_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, name=name, description=description, nested=nested)
8384
print("The response of AnalysesApi->analyses_get:\n")
8485
pprint(api_response)
8586
except ApiException as e:
@@ -261,6 +262,8 @@ Class | Method | HTTP request | Description
261262
- [PipelineList](docs/PipelineList.md)
262263
- [PipelineStudyResult](docs/PipelineStudyResult.md)
263264
- [PipelineStudyResultList](docs/PipelineStudyResultList.md)
265+
- [PipelineStudyResultPost](docs/PipelineStudyResultPost.md)
266+
- [PipelineStudyResultSearch](docs/PipelineStudyResultSearch.md)
264267
- [PointBase](docs/PointBase.md)
265268
- [PointCommon](docs/PointCommon.md)
266269
- [PointList](docs/PointList.md)

docs/AnalysesApi.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616

1717

1818
# **analyses_get**
19-
> AnalysisList analyses_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, name=name, description=description, nested=nested)
19+
> AnalysisList analyses_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, name=name, description=description, nested=nested)
2020
2121
GET list of analyses
2222

@@ -47,13 +47,14 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
4747
page = 56 # int | page of results (optional)
4848
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
4949
page_size = 56 # int | number of results to show on a page (optional)
50+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
5051
name = 'name_example' # str | search the name field for a term (optional)
5152
description = 'description_example' # str | search description field for a term (optional)
5253
nested = True # bool | whether to show the URI to a resource (false) or to embed the object in the response (true) (optional)
5354

5455
try:
5556
# GET list of analyses
56-
api_response = api_instance.analyses_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, name=name, description=description, nested=nested)
57+
api_response = api_instance.analyses_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, name=name, description=description, nested=nested)
5758
print("The response of AnalysesApi->analyses_get:\n")
5859
pprint(api_response)
5960
except Exception as e:
@@ -72,6 +73,7 @@ Name | Type | Description | Notes
7273
**page** | **int**| page of results | [optional]
7374
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
7475
**page_size** | **int**| number of results to show on a page | [optional]
76+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
7577
**name** | **str**| search the name field for a term | [optional]
7678
**description** | **str**| search description field for a term | [optional]
7779
**nested** | **bool**| whether to show the URI to a resource (false) or to embed the object in the response (true) | [optional]
@@ -405,7 +407,7 @@ Name | Type | Description | Notes
405407
[[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)
406408

407409
# **annotation_analyses_get**
408-
> NoteCollectionList annotation_analyses_get()
410+
> NoteCollectionList annotation_analyses_get(paginate=paginate)
409411
410412
Get annotation analyses
411413

@@ -429,10 +431,11 @@ configuration = neurostore_sdk.Configuration(
429431
with neurostore_sdk.ApiClient(configuration) as api_client:
430432
# Create an instance of the API class
431433
api_instance = neurostore_sdk.AnalysesApi(api_client)
434+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
432435

433436
try:
434437
# Get annotation analyses
435-
api_response = api_instance.annotation_analyses_get()
438+
api_response = api_instance.annotation_analyses_get(paginate=paginate)
436439
print("The response of AnalysesApi->annotation_analyses_get:\n")
437440
pprint(api_response)
438441
except Exception as e:
@@ -443,7 +446,10 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
443446

444447
### Parameters
445448

446-
This endpoint does not need any parameter.
449+
450+
Name | Type | Description | Notes
451+
------------- | ------------- | ------------- | -------------
452+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
447453

448454
### Return type
449455

docs/AnnotationsApi.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616

1717

1818
# **annotation_analyses_get**
19-
> NoteCollectionList annotation_analyses_get()
19+
> NoteCollectionList annotation_analyses_get(paginate=paginate)
2020
2121
Get annotation analyses
2222

@@ -40,10 +40,11 @@ configuration = neurostore_sdk.Configuration(
4040
with neurostore_sdk.ApiClient(configuration) as api_client:
4141
# Create an instance of the API class
4242
api_instance = neurostore_sdk.AnnotationsApi(api_client)
43+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
4344

4445
try:
4546
# Get annotation analyses
46-
api_response = api_instance.annotation_analyses_get()
47+
api_response = api_instance.annotation_analyses_get(paginate=paginate)
4748
print("The response of AnnotationsApi->annotation_analyses_get:\n")
4849
pprint(api_response)
4950
except Exception as e:
@@ -54,7 +55,10 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
5455

5556
### Parameters
5657

57-
This endpoint does not need any parameter.
58+
59+
Name | Type | Description | Notes
60+
------------- | ------------- | ------------- | -------------
61+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
5862

5963
### Return type
6064

@@ -313,7 +317,7 @@ Name | Type | Description | Notes
313317
[[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)
314318

315319
# **annotations_get**
316-
> AnnotationList annotations_get(studyset_id=studyset_id)
320+
> AnnotationList annotations_get(studyset_id=studyset_id, paginate=paginate)
317321
318322
Your GET endpoint
319323

@@ -340,10 +344,11 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
340344
# Create an instance of the API class
341345
api_instance = neurostore_sdk.AnnotationsApi(api_client)
342346
studyset_id = 'studyset_id_example' # str | see all annotations connected to this studyset (optional)
347+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
343348

344349
try:
345350
# Your GET endpoint
346-
api_response = api_instance.annotations_get(studyset_id=studyset_id)
351+
api_response = api_instance.annotations_get(studyset_id=studyset_id, paginate=paginate)
347352
print("The response of AnnotationsApi->annotations_get:\n")
348353
pprint(api_response)
349354
except Exception as e:
@@ -358,6 +363,7 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
358363
Name | Type | Description | Notes
359364
------------- | ------------- | ------------- | -------------
360365
**studyset_id** | **str**| see all annotations connected to this studyset | [optional]
366+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
361367

362368
### Return type
363369

docs/ConditionsApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313

1414
# **conditions_get**
15-
> ConditionList conditions_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, name=name, description=description)
15+
> ConditionList conditions_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, name=name, description=description)
1616
1717
GET Conditions
1818

@@ -43,12 +43,13 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
4343
page = 56 # int | page of results (optional)
4444
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
4545
page_size = 56 # int | number of results to show on a page (optional)
46+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
4647
name = 'name_example' # str | search the name field for a term (optional)
4748
description = 'description_example' # str | search description field for a term (optional)
4849

4950
try:
5051
# GET Conditions
51-
api_response = api_instance.conditions_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, name=name, description=description)
52+
api_response = api_instance.conditions_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, name=name, description=description)
5253
print("The response of ConditionsApi->conditions_get:\n")
5354
pprint(api_response)
5455
except Exception as e:
@@ -67,6 +68,7 @@ Name | Type | Description | Notes
6768
**page** | **int**| page of results | [optional]
6869
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
6970
**page_size** | **int**| number of results to show on a page | [optional]
71+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
7072
**name** | **str**| search the name field for a term | [optional]
7173
**description** | **str**| search description field for a term | [optional]
7274

docs/ImagesApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313

1414
# **images_get**
15-
> ImageList images_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, filename=filename, analysis_name=analysis_name, value_type=value_type, space=space)
15+
> ImageList images_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, filename=filename, analysis_name=analysis_name, value_type=value_type, space=space)
1616
1717
GET a list of images
1818

@@ -43,14 +43,15 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
4343
page = 56 # int | page of results (optional)
4444
desc = True # bool | sort results by descending order (as opposed to ascending order) (optional)
4545
page_size = 56 # int | number of results to show on a page (optional)
46+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
4647
filename = 'filename_example' # str | search filename field (optional)
4748
analysis_name = 'analysis_name_example' # str | search analysis_name field (optional)
4849
value_type = 'value_type_example' # str | search value_type field (optional)
4950
space = 'space_example' # str | search space field (optional)
5051

5152
try:
5253
# GET a list of images
53-
api_response = api_instance.images_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, filename=filename, analysis_name=analysis_name, value_type=value_type, space=space)
54+
api_response = api_instance.images_get(search=search, sort=sort, page=page, desc=desc, page_size=page_size, paginate=paginate, filename=filename, analysis_name=analysis_name, value_type=value_type, space=space)
5455
print("The response of ImagesApi->images_get:\n")
5556
pprint(api_response)
5657
except Exception as e:
@@ -69,6 +70,7 @@ Name | Type | Description | Notes
6970
**page** | **int**| page of results | [optional]
7071
**desc** | **bool**| sort results by descending order (as opposed to ascending order) | [optional]
7172
**page_size** | **int**| number of results to show on a page | [optional]
73+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
7274
**filename** | **str**| search filename field | [optional]
7375
**analysis_name** | **str**| search analysis_name field | [optional]
7476
**value_type** | **str**| search value_type field | [optional]

docs/PipelineConfigsApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313

1414
# **pipeline_configs_get**
15-
> PipelineConfigList pipeline_configs_get(pipeline=pipeline)
15+
> PipelineConfigList pipeline_configs_get(pipeline=pipeline, paginate=paginate)
1616
1717
GET a list of pipeline configs
1818

@@ -37,10 +37,11 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
3737
# Create an instance of the API class
3838
api_instance = neurostore_sdk.PipelineConfigsApi(api_client)
3939
pipeline = ['pipeline_example'] # List[str] | Filter configs by pipeline name (optional)
40+
paginate = True # bool | whether to paginate results (true) or return all results at once (false) (optional) (default to True)
4041

4142
try:
4243
# GET a list of pipeline configs
43-
api_response = api_instance.pipeline_configs_get(pipeline=pipeline)
44+
api_response = api_instance.pipeline_configs_get(pipeline=pipeline, paginate=paginate)
4445
print("The response of PipelineConfigsApi->pipeline_configs_get:\n")
4546
pprint(api_response)
4647
except Exception as e:
@@ -55,6 +56,7 @@ with neurostore_sdk.ApiClient(configuration) as api_client:
5556
Name | Type | Description | Notes
5657
------------- | ------------- | ------------- | -------------
5758
**pipeline** | [**List[str]**](str.md)| Filter configs by pipeline name | [optional]
59+
**paginate** | **bool**| whether to paginate results (true) or return all results at once (false) | [optional] [default to True]
5860

5961
### Return type
6062

docs/PipelineStudyResult.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**id** | **str** | | [optional]
8+
**id** | **str** | |
99
**pipeline_config_id** | **str** | | [optional]
10-
**data** | **object** | | [optional]
10+
**base_study_id** | **str** | | [optional]
11+
**config_id** | **str** | | [optional]
12+
**date_executed** | **datetime** | | [optional]
13+
**file_inputs** | **object** | | [optional]
14+
**result_data** | **object** | | [optional]
15+
**status** | **str** | | [optional]
1116

1217
## Example
1318

docs/PipelineStudyResultPost.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# PipelineStudyResultPost
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**study_ids** | **List[str]** | |
9+
**id** | **str** | |
10+
**pipeline_config_id** | **str** | | [optional]
11+
**base_study_id** | **str** | | [optional]
12+
**config_id** | **str** | | [optional]
13+
**date_executed** | **datetime** | | [optional]
14+
**file_inputs** | **object** | | [optional]
15+
**result_data** | **object** | | [optional]
16+
**status** | **str** | | [optional]
17+
18+
## Example
19+
20+
```python
21+
from neurostore_sdk.models.pipeline_study_result_post import PipelineStudyResultPost
22+
23+
# TODO update the JSON string below
24+
json = "{}"
25+
# create an instance of PipelineStudyResultPost from a JSON string
26+
pipeline_study_result_post_instance = PipelineStudyResultPost.from_json(json)
27+
# print the JSON string representation of the object
28+
print(PipelineStudyResultPost.to_json())
29+
30+
# convert the object into a dict
31+
pipeline_study_result_post_dict = pipeline_study_result_post_instance.to_dict()
32+
# create an instance of PipelineStudyResultPost from a dict
33+
pipeline_study_result_post_from_dict = PipelineStudyResultPost.from_dict(pipeline_study_result_post_dict)
34+
```
35+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
36+
37+

docs/PipelineStudyResultSearch.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# PipelineStudyResultSearch
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**study_ids** | **List[str]** | |
9+
10+
## Example
11+
12+
```python
13+
from neurostore_sdk.models.pipeline_study_result_search import PipelineStudyResultSearch
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of PipelineStudyResultSearch from a JSON string
18+
pipeline_study_result_search_instance = PipelineStudyResultSearch.from_json(json)
19+
# print the JSON string representation of the object
20+
print(PipelineStudyResultSearch.to_json())
21+
22+
# convert the object into a dict
23+
pipeline_study_result_search_dict = pipeline_study_result_search_instance.to_dict()
24+
# create an instance of PipelineStudyResultSearch from a dict
25+
pipeline_study_result_search_from_dict = PipelineStudyResultSearch.from_dict(pipeline_study_result_search_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

0 commit comments

Comments
 (0)