Skip to content

Commit b5c9cc8

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@70ad8ab)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent f0c5842 commit b5c9cc8

193 files changed

Lines changed: 2009 additions & 4596 deletions

File tree

Some content is hidden

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

.github/workflows/python.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: cosmotech_api Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 pytest
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36+
- name: Test with pytest
37+
run: |
38+
pytest

.gitlab-ci.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
14
# ref: https://docs.gitlab.com/ee/ci/README.html
5+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
26

37
stages:
48
- test
59

6-
.tests:
10+
.pytest:
711
stage: test
812
script:
913
- pip install -r requirements.txt
1014
- pip install -r test-requirements.txt
1115
- pytest --cov=cosmotech_api
1216

13-
test-3.6:
14-
extends: .tests
15-
image: python:3.6-alpine
16-
test-3.7:
17-
extends: .tests
17+
pytest-3.7:
18+
extends: .pytest
1819
image: python:3.7-alpine
19-
test-3.8:
20-
extends: .tests
20+
pytest-3.8:
21+
extends: .pytest
2122
image: python:3.8-alpine
22-
test-3.9:
23-
extends: .tests
23+
pytest-3.9:
24+
extends: .pytest
2425
image: python:3.9-alpine
26+
pytest-3.10:
27+
extends: .pytest
28+
image: python:3.10-alpine
29+
pytest-3.11:
30+
extends: .pytest
31+
image: python:3.11-alpine

.openapi-generator/FILES

Lines changed: 239 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,263 @@
1+
.github/workflows/python.yml
12
.gitignore
23
.gitlab-ci.yml
34
.openapi-generator-ignore
45
.travis.yml
56
README.md
67
cosmotech_api/__init__.py
78
cosmotech_api/api/__init__.py
9+
cosmotech_api/api/connector_api.py
10+
cosmotech_api/api/dataset_api.py
811
cosmotech_api/api/organization_api.py
9-
cosmotech_api/api/user_api.py
12+
cosmotech_api/api/run_api.py
13+
cosmotech_api/api/runner_api.py
14+
cosmotech_api/api/solution_api.py
15+
cosmotech_api/api/workspace_api.py
1016
cosmotech_api/api_client.py
11-
cosmotech_api/apis/__init__.py
17+
cosmotech_api/api_response.py
1218
cosmotech_api/configuration.py
1319
cosmotech_api/exceptions.py
14-
cosmotech_api/model/__init__.py
15-
cosmotech_api/model/organization.py
16-
cosmotech_api/model/user.py
17-
cosmotech_api/model_utils.py
18-
cosmotech_api/models/__init__.py
1920
cosmotech_api/models/__init__.py
21+
cosmotech_api/models/component_role_permissions.py
22+
cosmotech_api/models/connector.py
23+
cosmotech_api/models/connector_parameter.py
24+
cosmotech_api/models/connector_parameter_group.py
25+
cosmotech_api/models/container_resource_size_info.py
26+
cosmotech_api/models/container_resource_sizing.py
27+
cosmotech_api/models/created_run.py
28+
cosmotech_api/models/dataset.py
29+
cosmotech_api/models/dataset_access_control.py
30+
cosmotech_api/models/dataset_compatibility.py
31+
cosmotech_api/models/dataset_connector.py
32+
cosmotech_api/models/dataset_copy_parameters.py
33+
cosmotech_api/models/dataset_role.py
34+
cosmotech_api/models/dataset_search.py
35+
cosmotech_api/models/dataset_security.py
36+
cosmotech_api/models/dataset_source_type.py
37+
cosmotech_api/models/dataset_twin_graph_hash.py
38+
cosmotech_api/models/dataset_twin_graph_info.py
39+
cosmotech_api/models/dataset_twin_graph_query.py
40+
cosmotech_api/models/delete_historical_data.py
41+
cosmotech_api/models/file_upload_metadata.py
42+
cosmotech_api/models/file_upload_validation.py
43+
cosmotech_api/models/graph_properties.py
44+
cosmotech_api/models/ingestion_status_enum.py
45+
cosmotech_api/models/io_types_enum.py
46+
cosmotech_api/models/organization.py
47+
cosmotech_api/models/organization_access_control.py
48+
cosmotech_api/models/organization_create_request.py
49+
cosmotech_api/models/organization_role.py
50+
cosmotech_api/models/organization_security.py
51+
cosmotech_api/models/organization_update_request.py
52+
cosmotech_api/models/query_result.py
53+
cosmotech_api/models/resource_size_info.py
54+
cosmotech_api/models/run.py
55+
cosmotech_api/models/run_container.py
56+
cosmotech_api/models/run_data.py
57+
cosmotech_api/models/run_data_query.py
58+
cosmotech_api/models/run_logs.py
59+
cosmotech_api/models/run_logs_entry.py
60+
cosmotech_api/models/run_resource_requested.py
61+
cosmotech_api/models/run_state.py
62+
cosmotech_api/models/run_status.py
63+
cosmotech_api/models/run_status_node.py
64+
cosmotech_api/models/run_template.py
65+
cosmotech_api/models/run_template_orchestrator.py
66+
cosmotech_api/models/run_template_parameter.py
67+
cosmotech_api/models/run_template_parameter_group.py
68+
cosmotech_api/models/run_template_parameter_value.py
69+
cosmotech_api/models/run_template_resource_sizing.py
70+
cosmotech_api/models/run_template_step_source.py
71+
cosmotech_api/models/runner.py
72+
cosmotech_api/models/runner_access_control.py
73+
cosmotech_api/models/runner_resource_sizing.py
74+
cosmotech_api/models/runner_role.py
75+
cosmotech_api/models/runner_run_template_parameter_value.py
76+
cosmotech_api/models/runner_security.py
77+
cosmotech_api/models/runner_validation_status.py
78+
cosmotech_api/models/send_run_data_request.py
79+
cosmotech_api/models/solution.py
80+
cosmotech_api/models/solution_access_control.py
81+
cosmotech_api/models/solution_role.py
82+
cosmotech_api/models/solution_security.py
83+
cosmotech_api/models/source_info.py
84+
cosmotech_api/models/sub_dataset_graph_query.py
85+
cosmotech_api/models/twin_graph_batch_result.py
86+
cosmotech_api/models/twincache_status_enum.py
87+
cosmotech_api/models/workspace.py
88+
cosmotech_api/models/workspace_access_control.py
89+
cosmotech_api/models/workspace_file.py
90+
cosmotech_api/models/workspace_role.py
91+
cosmotech_api/models/workspace_security.py
92+
cosmotech_api/models/workspace_solution.py
93+
cosmotech_api/models/workspace_web_app.py
94+
cosmotech_api/py.typed
2095
cosmotech_api/rest.py
96+
docs/ComponentRolePermissions.md
97+
docs/Connector.md
98+
docs/ConnectorApi.md
99+
docs/ConnectorParameter.md
100+
docs/ConnectorParameterGroup.md
101+
docs/ContainerResourceSizeInfo.md
102+
docs/ContainerResourceSizing.md
103+
docs/CreatedRun.md
104+
docs/Dataset.md
105+
docs/DatasetAccessControl.md
106+
docs/DatasetApi.md
107+
docs/DatasetCompatibility.md
108+
docs/DatasetConnector.md
109+
docs/DatasetCopyParameters.md
110+
docs/DatasetRole.md
111+
docs/DatasetSearch.md
112+
docs/DatasetSecurity.md
113+
docs/DatasetSourceType.md
114+
docs/DatasetTwinGraphHash.md
115+
docs/DatasetTwinGraphInfo.md
116+
docs/DatasetTwinGraphQuery.md
117+
docs/DeleteHistoricalData.md
118+
docs/FileUploadMetadata.md
119+
docs/FileUploadValidation.md
120+
docs/GraphProperties.md
121+
docs/IngestionStatusEnum.md
122+
docs/IoTypesEnum.md
21123
docs/Organization.md
124+
docs/OrganizationAccessControl.md
22125
docs/OrganizationApi.md
23-
docs/User.md
24-
docs/UserApi.md
126+
docs/OrganizationCreateRequest.md
127+
docs/OrganizationRole.md
128+
docs/OrganizationSecurity.md
129+
docs/OrganizationUpdateRequest.md
130+
docs/QueryResult.md
131+
docs/ResourceSizeInfo.md
132+
docs/Run.md
133+
docs/RunApi.md
134+
docs/RunContainer.md
135+
docs/RunData.md
136+
docs/RunDataQuery.md
137+
docs/RunLogs.md
138+
docs/RunLogsEntry.md
139+
docs/RunResourceRequested.md
140+
docs/RunState.md
141+
docs/RunStatus.md
142+
docs/RunStatusNode.md
143+
docs/RunTemplate.md
144+
docs/RunTemplateOrchestrator.md
145+
docs/RunTemplateParameter.md
146+
docs/RunTemplateParameterGroup.md
147+
docs/RunTemplateParameterValue.md
148+
docs/RunTemplateResourceSizing.md
149+
docs/RunTemplateStepSource.md
150+
docs/Runner.md
151+
docs/RunnerAccessControl.md
152+
docs/RunnerApi.md
153+
docs/RunnerResourceSizing.md
154+
docs/RunnerRole.md
155+
docs/RunnerRunTemplateParameterValue.md
156+
docs/RunnerSecurity.md
157+
docs/RunnerValidationStatus.md
158+
docs/SendRunDataRequest.md
159+
docs/Solution.md
160+
docs/SolutionAccessControl.md
161+
docs/SolutionApi.md
162+
docs/SolutionRole.md
163+
docs/SolutionSecurity.md
164+
docs/SourceInfo.md
165+
docs/SubDatasetGraphQuery.md
166+
docs/TwinGraphBatchResult.md
167+
docs/TwincacheStatusEnum.md
168+
docs/Workspace.md
169+
docs/WorkspaceAccessControl.md
170+
docs/WorkspaceApi.md
171+
docs/WorkspaceFile.md
172+
docs/WorkspaceRole.md
173+
docs/WorkspaceSecurity.md
174+
docs/WorkspaceSolution.md
175+
docs/WorkspaceWebApp.md
25176
git_push.sh
177+
pyproject.toml
26178
requirements.txt
27179
setup.cfg
28180
setup.py
29181
test-requirements.txt
30182
test/__init__.py
183+
test/test_component_role_permissions.py
184+
test/test_connector.py
185+
test/test_connector_api.py
186+
test/test_connector_parameter.py
187+
test/test_connector_parameter_group.py
188+
test/test_container_resource_size_info.py
189+
test/test_container_resource_sizing.py
190+
test/test_created_run.py
191+
test/test_dataset.py
192+
test/test_dataset_access_control.py
193+
test/test_dataset_api.py
194+
test/test_dataset_compatibility.py
195+
test/test_dataset_connector.py
196+
test/test_dataset_copy_parameters.py
197+
test/test_dataset_role.py
198+
test/test_dataset_search.py
199+
test/test_dataset_security.py
200+
test/test_dataset_source_type.py
201+
test/test_dataset_twin_graph_hash.py
202+
test/test_dataset_twin_graph_info.py
203+
test/test_dataset_twin_graph_query.py
204+
test/test_delete_historical_data.py
205+
test/test_file_upload_metadata.py
206+
test/test_file_upload_validation.py
207+
test/test_graph_properties.py
208+
test/test_ingestion_status_enum.py
209+
test/test_io_types_enum.py
31210
test/test_organization.py
211+
test/test_organization_access_control.py
32212
test/test_organization_api.py
33-
test/test_user.py
34-
test/test_user_api.py
213+
test/test_organization_create_request.py
214+
test/test_organization_role.py
215+
test/test_organization_security.py
216+
test/test_organization_update_request.py
217+
test/test_query_result.py
218+
test/test_resource_size_info.py
219+
test/test_run.py
220+
test/test_run_api.py
221+
test/test_run_container.py
222+
test/test_run_data.py
223+
test/test_run_data_query.py
224+
test/test_run_logs.py
225+
test/test_run_logs_entry.py
226+
test/test_run_resource_requested.py
227+
test/test_run_state.py
228+
test/test_run_status.py
229+
test/test_run_status_node.py
230+
test/test_run_template.py
231+
test/test_run_template_orchestrator.py
232+
test/test_run_template_parameter.py
233+
test/test_run_template_parameter_group.py
234+
test/test_run_template_parameter_value.py
235+
test/test_run_template_resource_sizing.py
236+
test/test_run_template_step_source.py
237+
test/test_runner.py
238+
test/test_runner_access_control.py
239+
test/test_runner_api.py
240+
test/test_runner_resource_sizing.py
241+
test/test_runner_role.py
242+
test/test_runner_run_template_parameter_value.py
243+
test/test_runner_security.py
244+
test/test_runner_validation_status.py
245+
test/test_send_run_data_request.py
246+
test/test_solution.py
247+
test/test_solution_access_control.py
248+
test/test_solution_api.py
249+
test/test_solution_role.py
250+
test/test_solution_security.py
251+
test/test_source_info.py
252+
test/test_sub_dataset_graph_query.py
253+
test/test_twin_graph_batch_result.py
254+
test/test_twincache_status_enum.py
255+
test/test_workspace.py
256+
test/test_workspace_access_control.py
257+
test/test_workspace_api.py
258+
test/test_workspace_file.py
259+
test/test_workspace_role.py
260+
test/test_workspace_security.py
261+
test/test_workspace_solution.py
262+
test/test_workspace_web_app.py
35263
tox.ini

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.1.0
1+
7.8.0

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.6"
54
- "3.7"
65
- "3.8"
76
- "3.9"
7+
- "3.10"
8+
- "3.11"
9+
# uncomment the following if needed
10+
#- "3.11-dev" # 3.11 development branch
11+
#- "nightly" # nightly build
812
# command to install dependencies
913
install:
1014
- "pip install -r requirements.txt"

0 commit comments

Comments
 (0)