Skip to content

Commit 26d1ee0

Browse files
Update clients to latest platform release
1 parent caa2ef1 commit 26d1ee0

File tree

196 files changed

+25956
-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.

196 files changed

+25956
-0
lines changed
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: platform_api_python_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}}
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
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=platform_api_python_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
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
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
.github/workflows/python.yml
2+
.gitignore
3+
.gitlab-ci.yml
4+
.travis.yml
5+
README.md
6+
docs/APIKeyRequest.md
7+
docs/APIKeyResponse.md
8+
docs/CServeRecipe.md
9+
docs/CServeRecipePerf.md
10+
docs/CServeRecipeResponse.md
11+
docs/CServeV2RecipeInput.md
12+
docs/CServeV2RecipeOutput.md
13+
docs/CreateCServeDeploymentRequest.md
14+
docs/CreateCServeDeploymentResponse.md
15+
docs/CreateCServeV2DeploymentRequest.md
16+
docs/CreateCServeV2DeploymentResponse.md
17+
docs/CreateCheckoutRequest.md
18+
docs/CreateCheckoutResponse.md
19+
docs/CreateComputeDeploymentRequest.md
20+
docs/CreateComputeDeploymentResponse.md
21+
docs/CreateInferenceDeploymentRequest.md
22+
docs/CreateInferenceDeploymentResponse.md
23+
docs/CreateRagDeploymentRequest.md
24+
docs/CreateRagDeploymentResponse.md
25+
docs/CreditsResponse.md
26+
docs/DailyBillResponse.md
27+
docs/DeploymentStatus.md
28+
docs/DeploymentStatusRequest.md
29+
docs/DeploymentStatusResponse.md
30+
docs/DeploymentType.md
31+
docs/DeploymentUsageValue.md
32+
docs/EXTERNALApi.md
33+
docs/GetCServeDeploymentResponse.md
34+
docs/GetCServeV2DeploymentResponse.md
35+
docs/GetClusterResponse.md
36+
docs/GetComputeDeploymentResponse.md
37+
docs/GetDeploymentLogResponse.md
38+
docs/GetDeploymentResponse.md
39+
docs/GetDeploymentUsageResponse.md
40+
docs/GetInferenceDeploymentResponse.md
41+
docs/GetPaymentsResponse.md
42+
docs/GetRagDeploymentResponse.md
43+
docs/HTTPValidationError.md
44+
docs/HardwareInstanceResponse.md
45+
docs/ListAPIKeyResponse.md
46+
docs/ListCServeRecipeResponse.md
47+
docs/ListDailyBillResponse.md
48+
docs/ListGetClusterResponse.md
49+
docs/ListGetDeploymentResponse.md
50+
docs/ListHardwareInstanceResponse.md
51+
docs/ListPrebuiltImageResponse.md
52+
docs/ListUserVaultItemsResponse.md
53+
docs/Metric.md
54+
docs/PrebuiltImageResponse.md
55+
docs/ServiceStatus.md
56+
docs/UserSupportEmailRequest.md
57+
docs/UserVaultItemInput.md
58+
docs/UserVaultItemOutput.md
59+
docs/UserVaultType.md
60+
docs/ValidationError.md
61+
docs/ValidationErrorLocInner.md
62+
git_push.sh
63+
platform_api_python_client/__init__.py
64+
platform_api_python_client/api/__init__.py
65+
platform_api_python_client/api/external_api.py
66+
platform_api_python_client/api_client.py
67+
platform_api_python_client/api_response.py
68+
platform_api_python_client/configuration.py
69+
platform_api_python_client/exceptions.py
70+
platform_api_python_client/models/__init__.py
71+
platform_api_python_client/models/api_key_request.py
72+
platform_api_python_client/models/api_key_response.py
73+
platform_api_python_client/models/c_serve_recipe.py
74+
platform_api_python_client/models/c_serve_recipe_perf.py
75+
platform_api_python_client/models/c_serve_recipe_response.py
76+
platform_api_python_client/models/c_serve_v2_recipe_input.py
77+
platform_api_python_client/models/c_serve_v2_recipe_output.py
78+
platform_api_python_client/models/create_c_serve_deployment_request.py
79+
platform_api_python_client/models/create_c_serve_deployment_response.py
80+
platform_api_python_client/models/create_c_serve_v2_deployment_request.py
81+
platform_api_python_client/models/create_c_serve_v2_deployment_response.py
82+
platform_api_python_client/models/create_checkout_request.py
83+
platform_api_python_client/models/create_checkout_response.py
84+
platform_api_python_client/models/create_compute_deployment_request.py
85+
platform_api_python_client/models/create_compute_deployment_response.py
86+
platform_api_python_client/models/create_inference_deployment_request.py
87+
platform_api_python_client/models/create_inference_deployment_response.py
88+
platform_api_python_client/models/create_rag_deployment_request.py
89+
platform_api_python_client/models/create_rag_deployment_response.py
90+
platform_api_python_client/models/credits_response.py
91+
platform_api_python_client/models/daily_bill_response.py
92+
platform_api_python_client/models/deployment_status.py
93+
platform_api_python_client/models/deployment_status_request.py
94+
platform_api_python_client/models/deployment_status_response.py
95+
platform_api_python_client/models/deployment_type.py
96+
platform_api_python_client/models/deployment_usage_value.py
97+
platform_api_python_client/models/get_c_serve_deployment_response.py
98+
platform_api_python_client/models/get_c_serve_v2_deployment_response.py
99+
platform_api_python_client/models/get_cluster_response.py
100+
platform_api_python_client/models/get_compute_deployment_response.py
101+
platform_api_python_client/models/get_deployment_log_response.py
102+
platform_api_python_client/models/get_deployment_response.py
103+
platform_api_python_client/models/get_deployment_usage_response.py
104+
platform_api_python_client/models/get_inference_deployment_response.py
105+
platform_api_python_client/models/get_payments_response.py
106+
platform_api_python_client/models/get_rag_deployment_response.py
107+
platform_api_python_client/models/hardware_instance_response.py
108+
platform_api_python_client/models/http_validation_error.py
109+
platform_api_python_client/models/list_api_key_response.py
110+
platform_api_python_client/models/list_c_serve_recipe_response.py
111+
platform_api_python_client/models/list_daily_bill_response.py
112+
platform_api_python_client/models/list_get_cluster_response.py
113+
platform_api_python_client/models/list_get_deployment_response.py
114+
platform_api_python_client/models/list_hardware_instance_response.py
115+
platform_api_python_client/models/list_prebuilt_image_response.py
116+
platform_api_python_client/models/list_user_vault_items_response.py
117+
platform_api_python_client/models/metric.py
118+
platform_api_python_client/models/prebuilt_image_response.py
119+
platform_api_python_client/models/service_status.py
120+
platform_api_python_client/models/user_support_email_request.py
121+
platform_api_python_client/models/user_vault_item_input.py
122+
platform_api_python_client/models/user_vault_item_output.py
123+
platform_api_python_client/models/user_vault_type.py
124+
platform_api_python_client/models/validation_error.py
125+
platform_api_python_client/models/validation_error_loc_inner.py
126+
platform_api_python_client/py.typed
127+
platform_api_python_client/rest.py
128+
pyproject.toml
129+
requirements.txt
130+
setup.cfg
131+
setup.py
132+
test-requirements.txt
133+
test/__init__.py
134+
tox.ini
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.9.0
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=platform_api_python_client

0 commit comments

Comments
 (0)