Skip to content

Commit efb58df

Browse files
Generate intake
1 parent fbdd357 commit efb58df

34 files changed

+9504
-0
lines changed

services/intake/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.intake
2+
This API provides endpoints for managing Intakes.
3+
4+
5+
6+
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.
7+
8+
9+
## Installation & Usage
10+
### pip install
11+
12+
```sh
13+
pip install stackit-intake
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.intake
19+
```
20+
21+
## Getting Started
22+
23+
[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.

services/intake/poetry.lock

Lines changed: 1413 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/intake/pyproject.toml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
[project]
2+
name = "stackit-intake"
3+
4+
[tool.poetry]
5+
name = "stackit-intake"
6+
version = "v0.0.1a"
7+
authors = [
8+
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
9+
]
10+
description = "STACKIT Intake API"
11+
readme = "README.md"
12+
#license = "NoLicense"
13+
classifiers = [
14+
"Programming Language :: Python :: 3",
15+
"License :: OSI Approved :: Apache Software License",
16+
"Operating System :: OS Independent",
17+
]
18+
packages = [
19+
{ include = "stackit", from="src" }
20+
]
21+
22+
[tool.poetry.dependencies]
23+
python = "^3.9"
24+
stackit-core = ">=0.0.1a"
25+
requests = ">=2.32.3"
26+
pydantic = ">=2.9.2"
27+
python-dateutil = ">=2.9.0.post0"
28+
29+
[tool.poetry.group.dev.dependencies]
30+
black = ">=24.8.0"
31+
pytest = ">=8.3.3"
32+
flake8 = [
33+
{ version= ">=5.0.3", python="<3.12"},
34+
{ version= ">=6.0.1", python=">=3.12"}
35+
]
36+
flake8-black = ">=0.3.6"
37+
flake8-pyproject = ">=1.2.3"
38+
autoimport = ">=1.6.1"
39+
flake8-eol = ">=0.0.8"
40+
flake8-eradicate = ">=1.5.0"
41+
flake8-bandit = ">=4.1.1"
42+
flake8-bugbear = ">=23.1.14"
43+
flake8-quotes = ">=3.4.0"
44+
isort = ">=5.13.2"
45+
46+
[project.urls]
47+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
48+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
49+
50+
[build-system]
51+
requires = ["setuptools", "poetry-core"]
52+
build-backend = "poetry.core.masonry.api"
53+
54+
[tool.pytest.ini_options]
55+
pythonpath = [
56+
"src"
57+
]
58+
testpaths = [
59+
"tests"
60+
]
61+
62+
[tool.black]
63+
line-length = 120
64+
exclude = """
65+
/(
66+
.eggs
67+
| .git
68+
| .hg
69+
| .mypy_cache
70+
| .nox
71+
| .pants.d
72+
| .tox
73+
| .venv
74+
| _build
75+
| buck-out
76+
| build
77+
| dist
78+
| node_modules
79+
| venv
80+
)/
81+
"""
82+
83+
[tool.isort]
84+
profile = 'black'
85+
86+
[tool.flake8]
87+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
88+
statistics = true
89+
show-source = false
90+
max-line-length = 120
91+
# E203,W503 and E704 are incompatible with the formatter black
92+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
93+
ignore = ["E203", "W503", "E704", "W291"]
94+
inline-quotes = '"'
95+
docstring-quotes = '"""'
96+
multiline-quotes = '"""'
97+
ban-relative-imports = true
98+
# Exclude generated code
99+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Intake API
7+
8+
This API provides endpoints for managing Intakes.
9+
10+
The version of the OpenAPI document: 1beta.2.0
11+
Generated by OpenAPI Generator (https://openapi-generator.tech)
12+
13+
Do not edit the class manually.
14+
""" # noqa: E501
15+
16+
17+
__version__ = "1.0.0"
18+
19+
# Define package exports
20+
__all__ = [
21+
"DefaultApi",
22+
"ApiResponse",
23+
"ApiClient",
24+
"HostConfiguration",
25+
"OpenApiException",
26+
"ApiTypeError",
27+
"ApiValueError",
28+
"ApiKeyError",
29+
"ApiAttributeError",
30+
"ApiException",
31+
"CatalogAuth",
32+
"CatalogAuthPatch",
33+
"CatalogAuthType",
34+
"ClientConfig",
35+
"CreateIntakePayload",
36+
"CreateIntakeRunnerPayload",
37+
"CreateIntakeUserPayload",
38+
"DremioAuth",
39+
"DremioAuthPatch",
40+
"IntakeCatalog",
41+
"IntakeCatalogPatch",
42+
"IntakeResponse",
43+
"IntakeRunnerResponse",
44+
"IntakeUserResponse",
45+
"ListIntakeRunnersResponse",
46+
"ListIntakeUsersResponse",
47+
"ListIntakesResponse",
48+
"UpdateIntakePayload",
49+
"UpdateIntakeRunnerPayload",
50+
"UpdateIntakeUserPayload",
51+
"UserType",
52+
]
53+
54+
# import apis into sdk package
55+
from stackit.intake.api.default_api import DefaultApi as DefaultApi
56+
from stackit.intake.api_client import ApiClient as ApiClient
57+
58+
# import ApiClient
59+
from stackit.intake.api_response import ApiResponse as ApiResponse
60+
from stackit.intake.configuration import HostConfiguration as HostConfiguration
61+
from stackit.intake.exceptions import ApiAttributeError as ApiAttributeError
62+
from stackit.intake.exceptions import ApiException as ApiException
63+
from stackit.intake.exceptions import ApiKeyError as ApiKeyError
64+
from stackit.intake.exceptions import ApiTypeError as ApiTypeError
65+
from stackit.intake.exceptions import ApiValueError as ApiValueError
66+
from stackit.intake.exceptions import OpenApiException as OpenApiException
67+
68+
# import models into sdk package
69+
from stackit.intake.models.catalog_auth import CatalogAuth as CatalogAuth
70+
from stackit.intake.models.catalog_auth_patch import (
71+
CatalogAuthPatch as CatalogAuthPatch,
72+
)
73+
from stackit.intake.models.catalog_auth_type import CatalogAuthType as CatalogAuthType
74+
from stackit.intake.models.client_config import ClientConfig as ClientConfig
75+
from stackit.intake.models.create_intake_payload import (
76+
CreateIntakePayload as CreateIntakePayload,
77+
)
78+
from stackit.intake.models.create_intake_runner_payload import (
79+
CreateIntakeRunnerPayload as CreateIntakeRunnerPayload,
80+
)
81+
from stackit.intake.models.create_intake_user_payload import (
82+
CreateIntakeUserPayload as CreateIntakeUserPayload,
83+
)
84+
from stackit.intake.models.dremio_auth import DremioAuth as DremioAuth
85+
from stackit.intake.models.dremio_auth_patch import DremioAuthPatch as DremioAuthPatch
86+
from stackit.intake.models.intake_catalog import IntakeCatalog as IntakeCatalog
87+
from stackit.intake.models.intake_catalog_patch import (
88+
IntakeCatalogPatch as IntakeCatalogPatch,
89+
)
90+
from stackit.intake.models.intake_response import IntakeResponse as IntakeResponse
91+
from stackit.intake.models.intake_runner_response import (
92+
IntakeRunnerResponse as IntakeRunnerResponse,
93+
)
94+
from stackit.intake.models.intake_user_response import (
95+
IntakeUserResponse as IntakeUserResponse,
96+
)
97+
from stackit.intake.models.list_intake_runners_response import (
98+
ListIntakeRunnersResponse as ListIntakeRunnersResponse,
99+
)
100+
from stackit.intake.models.list_intake_users_response import (
101+
ListIntakeUsersResponse as ListIntakeUsersResponse,
102+
)
103+
from stackit.intake.models.list_intakes_response import (
104+
ListIntakesResponse as ListIntakesResponse,
105+
)
106+
from stackit.intake.models.update_intake_payload import (
107+
UpdateIntakePayload as UpdateIntakePayload,
108+
)
109+
from stackit.intake.models.update_intake_runner_payload import (
110+
UpdateIntakeRunnerPayload as UpdateIntakeRunnerPayload,
111+
)
112+
from stackit.intake.models.update_intake_user_payload import (
113+
UpdateIntakeUserPayload as UpdateIntakeUserPayload,
114+
)
115+
from stackit.intake.models.user_type import UserType as UserType
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# flake8: noqa
2+
3+
# import apis into api package
4+
from stackit.intake.api.default_api import DefaultApi

0 commit comments

Comments
 (0)