Skip to content

Commit 80bc09e

Browse files
committed
Initial code generation
0 parents  commit 80bc09e

File tree

184 files changed

+72039
-0
lines changed

Some content is hidden

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

184 files changed

+72039
-0
lines changed

.github/workflows/python.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: openapi_client 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.8", "3.9", "3.10", "3.11", "3.12"]
17+
18+
steps:
19+
- uses: actions/checkout@v4
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 -r requirements.txt
28+
pip install -r test-requirements.txt
29+
- name: Test with pytest
30+
run: |
31+
pytest --cov={{packageName}}

.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
target/
64+
65+
#Ipython Notebook
66+
.ipynb_checkpoints

.gitlab-ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# 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
6+
7+
stages:
8+
- test
9+
10+
.pytest:
11+
stage: test
12+
script:
13+
- pip install -r requirements.txt
14+
- pip install -r test-requirements.txt
15+
- pytest --cov=openapi_client
16+
17+
pytest-3.8:
18+
extends: .pytest
19+
image: python:3.8-alpine
20+
pytest-3.9:
21+
extends: .pytest
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-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
.github/workflows/python.yml
2+
.gitignore
3+
.gitlab-ci.yml
4+
.openapi-generator-ignore
5+
.travis.yml
6+
README.md
7+
docs/ActionsApi.md
8+
docs/AskDatalineRequest.md
9+
docs/AuthApi.md
10+
docs/Authentication.md
11+
docs/BodyCreateInfrastructureEndpointV1InfrastructurePost.md
12+
docs/BodyCreateSecretEndpointV1SecretsTeamIdPost.md
13+
docs/BodyUpdateInfrastructureEndpointV1InfrastructureInfrastructureIdPatch.md
14+
docs/CredentialCreate.md
15+
docs/CredentialUpdate.md
16+
docs/Credentials.md
17+
docs/DataLinesApi.md
18+
docs/DataSourcesApi.md
19+
docs/DatalineRequest.md
20+
docs/Datalineage.md
21+
docs/Datalines.md
22+
docs/Dataobjects.md
23+
docs/Datasources.md
24+
docs/Events.md
25+
docs/EventsApi.md
26+
docs/HTTPValidationError.md
27+
docs/Infrastructure.md
28+
docs/InfrastructureApi.md
29+
docs/LegacyApi.md
30+
docs/Organizations.md
31+
docs/OrganizationsApi.md
32+
docs/Platform.md
33+
docs/PlatformApi.md
34+
docs/PlatformCreate.md
35+
docs/Projects.md
36+
docs/ProjectsApi.md
37+
docs/Queryprograms.md
38+
docs/Queryresponses.md
39+
docs/RBACApi.md
40+
docs/Rbac.md
41+
docs/Secrets.md
42+
docs/SecretsAndCredentialsApi.md
43+
docs/SourceCredentials.md
44+
docs/StatusApi.md
45+
docs/Tasks.md
46+
docs/TasksApi.md
47+
docs/TeamMembershipRole.md
48+
docs/TeamMembershipsApi.md
49+
docs/Teams.md
50+
docs/TeamsApi.md
51+
docs/Tool.md
52+
docs/ToolsApi.md
53+
docs/UserCreateInput.md
54+
docs/UserTeams.md
55+
docs/Users.md
56+
docs/UsersApi.md
57+
docs/ValidationError.md
58+
docs/ValidationErrorLocInner.md
59+
docs/WorkspaceToolRequest.md
60+
git_push.sh
61+
openapi_client/__init__.py
62+
openapi_client/api/__init__.py
63+
openapi_client/api/actions_api.py
64+
openapi_client/api/auth_api.py
65+
openapi_client/api/data_lines_api.py
66+
openapi_client/api/data_sources_api.py
67+
openapi_client/api/events_api.py
68+
openapi_client/api/infrastructure_api.py
69+
openapi_client/api/legacy_api.py
70+
openapi_client/api/organizations_api.py
71+
openapi_client/api/platform_api.py
72+
openapi_client/api/projects_api.py
73+
openapi_client/api/rbac_api.py
74+
openapi_client/api/secrets_and_credentials_api.py
75+
openapi_client/api/status_api.py
76+
openapi_client/api/tasks_api.py
77+
openapi_client/api/team_memberships_api.py
78+
openapi_client/api/teams_api.py
79+
openapi_client/api/tools_api.py
80+
openapi_client/api/users_api.py
81+
openapi_client/api_client.py
82+
openapi_client/api_response.py
83+
openapi_client/configuration.py
84+
openapi_client/exceptions.py
85+
openapi_client/models/__init__.py
86+
openapi_client/models/ask_dataline_request.py
87+
openapi_client/models/authentication.py
88+
openapi_client/models/body_create_infrastructure_endpoint_v1_infrastructure_post.py
89+
openapi_client/models/body_create_secret_endpoint_v1_secrets_team_id_post.py
90+
openapi_client/models/body_update_infrastructure_endpoint_v1_infrastructure_infrastructure_id_patch.py
91+
openapi_client/models/credential_create.py
92+
openapi_client/models/credential_update.py
93+
openapi_client/models/credentials.py
94+
openapi_client/models/dataline_request.py
95+
openapi_client/models/datalineage.py
96+
openapi_client/models/datalines.py
97+
openapi_client/models/dataobjects.py
98+
openapi_client/models/datasources.py
99+
openapi_client/models/events.py
100+
openapi_client/models/http_validation_error.py
101+
openapi_client/models/infrastructure.py
102+
openapi_client/models/organizations.py
103+
openapi_client/models/platform.py
104+
openapi_client/models/platform_create.py
105+
openapi_client/models/projects.py
106+
openapi_client/models/queryprograms.py
107+
openapi_client/models/queryresponses.py
108+
openapi_client/models/rbac.py
109+
openapi_client/models/secrets.py
110+
openapi_client/models/source_credentials.py
111+
openapi_client/models/tasks.py
112+
openapi_client/models/team_membership_role.py
113+
openapi_client/models/teams.py
114+
openapi_client/models/tool.py
115+
openapi_client/models/user_create_input.py
116+
openapi_client/models/user_teams.py
117+
openapi_client/models/users.py
118+
openapi_client/models/validation_error.py
119+
openapi_client/models/validation_error_loc_inner.py
120+
openapi_client/models/workspace_tool_request.py
121+
openapi_client/py.typed
122+
openapi_client/rest.py
123+
pyproject.toml
124+
requirements.txt
125+
setup.cfg
126+
setup.py
127+
test-requirements.txt
128+
test/__init__.py
129+
test/test_actions_api.py
130+
test/test_ask_dataline_request.py
131+
test/test_auth_api.py
132+
test/test_authentication.py
133+
test/test_body_create_infrastructure_endpoint_v1_infrastructure_post.py
134+
test/test_body_create_secret_endpoint_v1_secrets_team_id_post.py
135+
test/test_body_update_infrastructure_endpoint_v1_infrastructure_infrastructure_id_patch.py
136+
test/test_credential_create.py
137+
test/test_credential_update.py
138+
test/test_credentials.py
139+
test/test_data_lines_api.py
140+
test/test_data_sources_api.py
141+
test/test_dataline_request.py
142+
test/test_datalineage.py
143+
test/test_datalines.py
144+
test/test_dataobjects.py
145+
test/test_datasources.py
146+
test/test_events.py
147+
test/test_events_api.py
148+
test/test_http_validation_error.py
149+
test/test_infrastructure.py
150+
test/test_infrastructure_api.py
151+
test/test_legacy_api.py
152+
test/test_organizations.py
153+
test/test_organizations_api.py
154+
test/test_platform.py
155+
test/test_platform_api.py
156+
test/test_platform_create.py
157+
test/test_projects.py
158+
test/test_projects_api.py
159+
test/test_queryprograms.py
160+
test/test_queryresponses.py
161+
test/test_rbac.py
162+
test/test_rbac_api.py
163+
test/test_secrets.py
164+
test/test_secrets_and_credentials_api.py
165+
test/test_source_credentials.py
166+
test/test_status_api.py
167+
test/test_tasks.py
168+
test/test_tasks_api.py
169+
test/test_team_membership_role.py
170+
test/test_team_memberships_api.py
171+
test/test_teams.py
172+
test/test_teams_api.py
173+
test/test_tool.py
174+
test/test_tools_api.py
175+
test/test_user_create_input.py
176+
test/test_user_teams.py
177+
test/test_users.py
178+
test/test_users_api.py
179+
test/test_validation_error.py
180+
test/test_validation_error_loc_inner.py
181+
test/test_workspace_tool_request.py
182+
tox.ini

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.10.0

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ref: https://docs.travis-ci.com/user/languages/python
2+
language: python
3+
python:
4+
- "3.8"
5+
- "3.9"
6+
- "3.10"
7+
- "3.11"
8+
- "3.12"
9+
# uncomment the following if needed
10+
#- "3.12-dev" # 3.12 development branch
11+
#- "nightly" # nightly build
12+
# command to install dependencies
13+
install:
14+
- "pip install -r requirements.txt"
15+
- "pip install -r test-requirements.txt"
16+
# command to run tests
17+
script: pytest --cov=openapi_client

0 commit comments

Comments
 (0)