Skip to content

Commit c070a8e

Browse files
3dd6e96afcb09f2f420268a596f268bedda7c543
1 parent 2b294b4 commit c070a8e

File tree

232 files changed

+34201
-16117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+34201
-16117
lines changed

.github/workflows/python.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install flake8 pytest
28-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29-
- name: Lint with flake8
30-
run: |
31-
# stop the build if there are Python syntax errors or undefined names
32-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
34-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+
pip install -r requirements.txt
28+
pip install -r test-requirements.txt
3529
- name: Test with pytest
3630
run: |
37-
pytest
31+
pytest --cov={{packageName}}

.gitlab-ci.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=neurostore_sdk
1616

17-
pytest-3.7:
18-
extends: .pytest
19-
image: python:3.7-alpine
2017
pytest-3.8:
2118
extends: .pytest
2219
image: python:3.8-alpine
2320
pytest-3.9:
2421
extends: .pytest
25-
image: python:3.9-alpine
22+
image: python:3.9-alpine
23+
pytest-3.10:
24+
extends: .pytest
25+
image: python:3.10-alpine
26+
pytest-3.11:
27+
extends: .pytest
28+
image: python:3.11-alpine
29+
pytest-3.12:
30+
extends: .pytest
31+
image: python:3.12-alpine

.openapi-generator/FILES

+7-35
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,12 @@ docs/ImageRelationships.md
5151
docs/ImageRequest.md
5252
docs/ImageReturn.md
5353
docs/ImagesApi.md
54-
docs/JsonLd.md
5554
docs/JsonLdContext.md
56-
docs/Metadata.md
5755
docs/NestedPutAttributes.md
5856
docs/NoteCollectionBase.md
5957
docs/NoteCollectionList.md
6058
docs/NoteCollectionRequest.md
6159
docs/NoteCollectionReturn.md
62-
docs/NoteCollectionReturnAllOf.md
6360
docs/Pipeline.md
6461
docs/PipelineConfig.md
6562
docs/PipelineConfigList.md
@@ -84,21 +81,18 @@ docs/PointRequest.md
8481
docs/PointReturn.md
8582
docs/PointValue.md
8683
docs/PointsApi.md
87-
docs/ReadableResourceAttributes.md
8884
docs/ResourceAttributes.md
8985
docs/StoreApi.md
9086
docs/StudiesApi.md
9187
docs/StudyBase.md
9288
docs/StudyCommon.md
9389
docs/StudyList.md
9490
docs/StudyRequest.md
95-
docs/StudyRequestAllOf.md
9691
docs/StudyRequestRelationships.md
9792
docs/StudyRequestRelationshipsAnalyses.md
9893
docs/StudyReturn.md
99-
docs/StudyReturnAllOf.md
100-
docs/StudyReturnAllOfStudysetsInner.md
101-
docs/StudyReturnAllOfStudysetsInnerOneOf.md
94+
docs/StudyReturnAllOfStudysets.md
95+
docs/StudyReturnAllOfStudysetsOneOf.md
10296
docs/StudyReturnRelationships.md
10397
docs/StudyReturnRelationshipsAnalyses.md
10498
docs/StudysetBase.md
@@ -114,9 +108,7 @@ docs/StudysetsIdPut422Response.md
114108
docs/User.md
115109
docs/UserApi.md
116110
docs/UserList.md
117-
docs/UserResourceAttributes.md
118111
docs/UserlessResourceAttributes.md
119-
docs/WriteableResourceAttributes.md
120112
git_push.sh
121113
neurostore_sdk/__init__.py
122114
neurostore_sdk/api/__init__.py
@@ -183,15 +175,12 @@ neurostore_sdk/models/image_list.py
183175
neurostore_sdk/models/image_relationships.py
184176
neurostore_sdk/models/image_request.py
185177
neurostore_sdk/models/image_return.py
186-
neurostore_sdk/models/json_ld.py
187178
neurostore_sdk/models/json_ld_context.py
188-
neurostore_sdk/models/metadata.py
189179
neurostore_sdk/models/nested_put_attributes.py
190180
neurostore_sdk/models/note_collection_base.py
191181
neurostore_sdk/models/note_collection_list.py
192182
neurostore_sdk/models/note_collection_request.py
193183
neurostore_sdk/models/note_collection_return.py
194-
neurostore_sdk/models/note_collection_return_all_of.py
195184
neurostore_sdk/models/pipeline.py
196185
neurostore_sdk/models/pipeline_config.py
197186
neurostore_sdk/models/pipeline_config_list.py
@@ -210,19 +199,16 @@ neurostore_sdk/models/point_relationships_values.py
210199
neurostore_sdk/models/point_request.py
211200
neurostore_sdk/models/point_return.py
212201
neurostore_sdk/models/point_value.py
213-
neurostore_sdk/models/readable_resource_attributes.py
214202
neurostore_sdk/models/resource_attributes.py
215203
neurostore_sdk/models/study_base.py
216204
neurostore_sdk/models/study_common.py
217205
neurostore_sdk/models/study_list.py
218206
neurostore_sdk/models/study_request.py
219-
neurostore_sdk/models/study_request_all_of.py
220207
neurostore_sdk/models/study_request_relationships.py
221208
neurostore_sdk/models/study_request_relationships_analyses.py
222209
neurostore_sdk/models/study_return.py
223-
neurostore_sdk/models/study_return_all_of.py
224-
neurostore_sdk/models/study_return_all_of_studysets_inner.py
225-
neurostore_sdk/models/study_return_all_of_studysets_inner_one_of.py
210+
neurostore_sdk/models/study_return_all_of_studysets.py
211+
neurostore_sdk/models/study_return_all_of_studysets_one_of.py
226212
neurostore_sdk/models/study_return_relationships.py
227213
neurostore_sdk/models/study_return_relationships_analyses.py
228214
neurostore_sdk/models/studyset_base.py
@@ -236,29 +222,15 @@ neurostore_sdk/models/studysets_id_get404_response.py
236222
neurostore_sdk/models/studysets_id_put422_response.py
237223
neurostore_sdk/models/user.py
238224
neurostore_sdk/models/user_list.py
239-
neurostore_sdk/models/user_resource_attributes.py
240225
neurostore_sdk/models/userless_resource_attributes.py
241-
neurostore_sdk/models/writeable_resource_attributes.py
226+
neurostore_sdk/py.typed
242227
neurostore_sdk/rest.py
243228
pyproject.toml
244229
requirements.txt
245230
setup.cfg
246231
setup.py
247232
test-requirements.txt
248233
test/__init__.py
249-
test/test_pipeline.py
250-
test/test_pipeline_config.py
251-
test/test_pipeline_config_list.py
252-
test/test_pipeline_configs_api.py
253-
test/test_pipeline_list.py
254-
test/test_pipeline_run.py
255-
test/test_pipeline_run_list.py
256-
test/test_pipeline_run_result.py
257-
test/test_pipeline_run_result_list.py
258-
test/test_pipeline_run_result_vote.py
259-
test/test_pipeline_run_result_vote_list.py
260-
test/test_pipeline_run_result_votes_api.py
261-
test/test_pipeline_run_results_api.py
262-
test/test_pipeline_runs_api.py
263-
test/test_pipelines_api.py
234+
test/test_study_return_all_of_studysets.py
235+
test/test_study_return_all_of_studysets_one_of.py
264236
tox.ini

.openapi-generator/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.6.0
1+
7.11.0

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.7"
54
- "3.8"
65
- "3.9"
76
- "3.10"
87
- "3.11"
8+
- "3.12"
99
# uncomment the following if needed
10-
#- "3.11-dev" # 3.11 development branch
10+
#- "3.12-dev" # 3.12 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

README.md

+5-13
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
55

66
- API version: 1.0
77
- Package version: 0.0.1
8-
- Build package: org.openapitools.codegen.languages.PythonNextgenClientCodegen
8+
- Generator version: 7.11.0
9+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
910
For more information, please visit [https://github.com/jdkent](https://github.com/jdkent)
1011

1112
## Requirements.
1213

13-
Python 3.7+
14+
Python 3.8+
1415

1516
## Installation & Usage
1617
### pip install
@@ -51,7 +52,6 @@ Please follow the [installation procedure](#installation--usage) and then run th
5152

5253
```python
5354

54-
import time
5555
import neurostore_sdk
5656
from neurostore_sdk.rest import ApiException
5757
from pprint import pprint
@@ -259,15 +259,12 @@ Class | Method | HTTP request | Description
259259
- [ImageRelationships](docs/ImageRelationships.md)
260260
- [ImageRequest](docs/ImageRequest.md)
261261
- [ImageReturn](docs/ImageReturn.md)
262-
- [JsonLd](docs/JsonLd.md)
263262
- [JsonLdContext](docs/JsonLdContext.md)
264-
- [Metadata](docs/Metadata.md)
265263
- [NestedPutAttributes](docs/NestedPutAttributes.md)
266264
- [NoteCollectionBase](docs/NoteCollectionBase.md)
267265
- [NoteCollectionList](docs/NoteCollectionList.md)
268266
- [NoteCollectionRequest](docs/NoteCollectionRequest.md)
269267
- [NoteCollectionReturn](docs/NoteCollectionReturn.md)
270-
- [NoteCollectionReturnAllOf](docs/NoteCollectionReturnAllOf.md)
271268
- [Pipeline](docs/Pipeline.md)
272269
- [PipelineConfig](docs/PipelineConfig.md)
273270
- [PipelineConfigList](docs/PipelineConfigList.md)
@@ -286,19 +283,16 @@ Class | Method | HTTP request | Description
286283
- [PointRequest](docs/PointRequest.md)
287284
- [PointReturn](docs/PointReturn.md)
288285
- [PointValue](docs/PointValue.md)
289-
- [ReadableResourceAttributes](docs/ReadableResourceAttributes.md)
290286
- [ResourceAttributes](docs/ResourceAttributes.md)
291287
- [StudyBase](docs/StudyBase.md)
292288
- [StudyCommon](docs/StudyCommon.md)
293289
- [StudyList](docs/StudyList.md)
294290
- [StudyRequest](docs/StudyRequest.md)
295-
- [StudyRequestAllOf](docs/StudyRequestAllOf.md)
296291
- [StudyRequestRelationships](docs/StudyRequestRelationships.md)
297292
- [StudyRequestRelationshipsAnalyses](docs/StudyRequestRelationshipsAnalyses.md)
298293
- [StudyReturn](docs/StudyReturn.md)
299-
- [StudyReturnAllOf](docs/StudyReturnAllOf.md)
300-
- [StudyReturnAllOfStudysetsInner](docs/StudyReturnAllOfStudysetsInner.md)
301-
- [StudyReturnAllOfStudysetsInnerOneOf](docs/StudyReturnAllOfStudysetsInnerOneOf.md)
294+
- [StudyReturnAllOfStudysets](docs/StudyReturnAllOfStudysets.md)
295+
- [StudyReturnAllOfStudysetsOneOf](docs/StudyReturnAllOfStudysetsOneOf.md)
302296
- [StudyReturnRelationships](docs/StudyReturnRelationships.md)
303297
- [StudyReturnRelationshipsAnalyses](docs/StudyReturnRelationshipsAnalyses.md)
304298
- [StudysetBase](docs/StudysetBase.md)
@@ -312,9 +306,7 @@ Class | Method | HTTP request | Description
312306
- [StudysetsIdPut422Response](docs/StudysetsIdPut422Response.md)
313307
- [User](docs/User.md)
314308
- [UserList](docs/UserList.md)
315-
- [UserResourceAttributes](docs/UserResourceAttributes.md)
316309
- [UserlessResourceAttributes](docs/UserlessResourceAttributes.md)
317-
- [WriteableResourceAttributes](docs/WriteableResourceAttributes.md)
318310

319311

320312
<a id="documentation-for-authorization"></a>

0 commit comments

Comments
 (0)