- Notifications
You must be signed in to change notification settings - Fork2
Generator: Update SDK /services/intake#1988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # stackit.intake | ||
| This API provides endpoints for managing Intakes. | ||
| This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK. | ||
| ## Installation & Usage | ||
| ### pip install | ||
| ```sh | ||
| pip install stackit-intake | ||
| ``` | ||
| Then import the package: | ||
| ```python | ||
| import stackit.intake | ||
| ``` | ||
| ## Getting Started | ||
| [Examples](https://github.com/stackitcloud/stackit-sdk-python/tree/main/examples) for the usage of the package can be found in the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK. |
Large diffs are not rendered by default.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| [project] | ||
| name = "stackit-intake" | ||
| [tool.poetry] | ||
| name = "stackit-intake" | ||
| version = "v0.0.1a" | ||
| authors = [ | ||
| "STACKIT Developer Tools <developer-tools@stackit.cloud>", | ||
| ] | ||
| description = "STACKIT Intake API" | ||
| readme = "README.md" | ||
| #license = "NoLicense" | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3", | ||
| "License :: OSI Approved :: Apache Software License", | ||
| "Operating System :: OS Independent", | ||
| ] | ||
| packages = [ | ||
| { include = "stackit", from="src" } | ||
| ] | ||
| [tool.poetry.dependencies] | ||
| python = "^3.9" | ||
| stackit-core = ">=0.0.1a" | ||
| requests = ">=2.32.3" | ||
| pydantic = ">=2.9.2" | ||
| python-dateutil = ">=2.9.0.post0" | ||
| [tool.poetry.group.dev.dependencies] | ||
| black = ">=24.8.0" | ||
| pytest = ">=8.3.3" | ||
| flake8 = [ | ||
| { version= ">=5.0.3", python="<3.12"}, | ||
| { version= ">=6.0.1", python=">=3.12"} | ||
| ] | ||
| flake8-black = ">=0.3.6" | ||
| flake8-pyproject = ">=1.2.3" | ||
| autoimport = ">=1.6.1" | ||
| flake8-eol = ">=0.0.8" | ||
| flake8-eradicate = ">=1.5.0" | ||
| flake8-bandit = ">=4.1.1" | ||
| flake8-bugbear = ">=23.1.14" | ||
| flake8-quotes = ">=3.4.0" | ||
| isort = ">=5.13.2" | ||
| [project.urls] | ||
| Homepage = "https://github.com/stackitcloud/stackit-sdk-python" | ||
| Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues" | ||
| [build-system] | ||
| requires = ["setuptools", "poetry-core"] | ||
| build-backend = "poetry.core.masonry.api" | ||
| [tool.pytest.ini_options] | ||
| pythonpath = [ | ||
| "src" | ||
| ] | ||
| testpaths = [ | ||
| "tests" | ||
| ] | ||
| [tool.black] | ||
| line-length = 120 | ||
| exclude = """ | ||
| /( | ||
| .eggs | ||
| | .git | ||
| | .hg | ||
| | .mypy_cache | ||
| | .nox | ||
| | .pants.d | ||
| | .tox | ||
| | .venv | ||
| | _build | ||
| | buck-out | ||
| | build | ||
| | dist | ||
| | node_modules | ||
| | venv | ||
| )/ | ||
| """ | ||
| [tool.isort] | ||
| profile = 'black' | ||
| [tool.flake8] | ||
| exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"] | ||
| statistics = true | ||
| show-source = false | ||
| max-line-length = 120 | ||
| # E203,W503 and E704 are incompatible with the formatter black | ||
| # W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments | ||
| ignore = ["E203", "W503", "E704", "W291"] | ||
| inline-quotes = '"' | ||
| docstring-quotes = '"""' | ||
| multiline-quotes = '"""' | ||
| ban-relative-imports = true | ||
| # Exclude generated code | ||
| extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| # coding: utf-8 | ||
| # flake8: noqa | ||
| """ | ||
| STACKIT Intake API | ||
| This API provides endpoints for managing Intakes. | ||
| The version of the OpenAPI document: 1beta.1.0 | ||
| Generated by OpenAPI Generator (https://openapi-generator.tech) | ||
| Do not edit the class manually. | ||
| """ # noqa: E501 | ||
| __version__ = "1.0.0" | ||
| # Define package exports | ||
| __all__ = [ | ||
| "DefaultApi", | ||
| "ApiResponse", | ||
| "ApiClient", | ||
| "HostConfiguration", | ||
| "OpenApiException", | ||
| "ApiTypeError", | ||
| "ApiValueError", | ||
| "ApiKeyError", | ||
| "ApiAttributeError", | ||
| "ApiException", | ||
| "CatalogAuth", | ||
| "CatalogAuthPatch", | ||
| "CatalogAuthType", | ||
| "CreateIntakePayload", | ||
| "CreateIntakeRunnerPayload", | ||
| "CreateIntakeUserPayload", | ||
| "DremioAuth", | ||
| "DremioAuthPatch", | ||
| "IntakeCatalog", | ||
| "IntakeCatalogPatch", | ||
| "IntakeResponse", | ||
| "IntakeRunnerResponse", | ||
| "IntakeUserResponse", | ||
| "ListIntakeRunnersResponse", | ||
| "ListIntakeUsersResponse", | ||
| "ListIntakesResponse", | ||
| "UpdateIntakePayload", | ||
| "UpdateIntakeRunnerPayload", | ||
| "UpdateIntakeUserPayload", | ||
| "UserType", | ||
| ] | ||
| # import apis into sdk package | ||
| from stackit.intake.api.default_api import DefaultApi as DefaultApi | ||
| from stackit.intake.api_client import ApiClient as ApiClient | ||
| # import ApiClient | ||
| from stackit.intake.api_response import ApiResponse as ApiResponse | ||
| from stackit.intake.configuration import HostConfiguration as HostConfiguration | ||
| from stackit.intake.exceptions import ApiAttributeError as ApiAttributeError | ||
| from stackit.intake.exceptions import ApiException as ApiException | ||
| from stackit.intake.exceptions import ApiKeyError as ApiKeyError | ||
| from stackit.intake.exceptions import ApiTypeError as ApiTypeError | ||
| from stackit.intake.exceptions import ApiValueError as ApiValueError | ||
| from stackit.intake.exceptions import OpenApiException as OpenApiException | ||
| # import models into sdk package | ||
| from stackit.intake.models.catalog_auth import CatalogAuth as CatalogAuth | ||
| from stackit.intake.models.catalog_auth_patch import ( | ||
| CatalogAuthPatch as CatalogAuthPatch, | ||
| ) | ||
| from stackit.intake.models.catalog_auth_type import CatalogAuthType as CatalogAuthType | ||
| from stackit.intake.models.create_intake_payload import ( | ||
| CreateIntakePayload as CreateIntakePayload, | ||
| ) | ||
| from stackit.intake.models.create_intake_runner_payload import ( | ||
| CreateIntakeRunnerPayload as CreateIntakeRunnerPayload, | ||
| ) | ||
| from stackit.intake.models.create_intake_user_payload import ( | ||
| CreateIntakeUserPayload as CreateIntakeUserPayload, | ||
| ) | ||
| from stackit.intake.models.dremio_auth import DremioAuth as DremioAuth | ||
| from stackit.intake.models.dremio_auth_patch import DremioAuthPatch as DremioAuthPatch | ||
| from stackit.intake.models.intake_catalog import IntakeCatalog as IntakeCatalog | ||
| from stackit.intake.models.intake_catalog_patch import ( | ||
| IntakeCatalogPatch as IntakeCatalogPatch, | ||
| ) | ||
| from stackit.intake.models.intake_response import IntakeResponse as IntakeResponse | ||
| from stackit.intake.models.intake_runner_response import ( | ||
| IntakeRunnerResponse as IntakeRunnerResponse, | ||
| ) | ||
| from stackit.intake.models.intake_user_response import ( | ||
| IntakeUserResponse as IntakeUserResponse, | ||
| ) | ||
| from stackit.intake.models.list_intake_runners_response import ( | ||
| ListIntakeRunnersResponse as ListIntakeRunnersResponse, | ||
| ) | ||
| from stackit.intake.models.list_intake_users_response import ( | ||
| ListIntakeUsersResponse as ListIntakeUsersResponse, | ||
| ) | ||
| from stackit.intake.models.list_intakes_response import ( | ||
| ListIntakesResponse as ListIntakesResponse, | ||
| ) | ||
| from stackit.intake.models.update_intake_payload import ( | ||
| UpdateIntakePayload as UpdateIntakePayload, | ||
| ) | ||
| from stackit.intake.models.update_intake_runner_payload import ( | ||
| UpdateIntakeRunnerPayload as UpdateIntakeRunnerPayload, | ||
| ) | ||
| from stackit.intake.models.update_intake_user_payload import ( | ||
| UpdateIntakeUserPayload as UpdateIntakeUserPayload, | ||
| ) | ||
| from stackit.intake.models.user_type import UserType as UserType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # flake8: noqa | ||
| # import apis into api package | ||
| from stackit.intake.api.default_api import DefaultApi |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.