Skip to content

Commit 296f704

Browse files
Generate valkey
1 parent 815ef3e commit 296f704

41 files changed

Lines changed: 11386 additions & 0 deletions

Some content is hidden

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

services/valkey/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# stackit.valkey
2+
The STACKIT Key Value Store API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
3+
4+
For more information, please visit [https://docs.stackit.cloud/stackit/en/support-area-72063304.html](https://docs.stackit.cloud/stackit/en/support-area-72063304.html)
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-valkey
14+
```
15+
16+
Then import the package:
17+
```python
18+
import stackit.valkey
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/valkey/oas_commit

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

services/valkey/pyproject.toml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
[project]
2+
name = "stackit-valkey"
3+
version = "v0.0.1a"
4+
description = "STACKIT Key Value Store API"
5+
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
6+
requires-python = ">=3.9,<4.0"
7+
readme = "README.md"
8+
classifiers = [
9+
"Programming Language :: Python :: 3",
10+
"License :: OSI Approved :: Apache Software License",
11+
"Operating System :: OS Independent",
12+
"Programming Language :: Python :: 3.9",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
17+
"Programming Language :: Python :: 3.14",
18+
]
19+
dependencies = [
20+
"stackit-core>=0.0.1a",
21+
"requests>=2.32.3",
22+
"pydantic>=2.9.2",
23+
"python-dateutil>=2.9.0.post0",
24+
]
25+
26+
[project.urls]
27+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
28+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
29+
30+
[dependency-groups]
31+
dev = [
32+
"black>=24.8.0",
33+
"pytest>=8.3.3",
34+
"flake8>=5.0.3 ; python_full_version < '3.12'",
35+
"flake8>=6.0.1 ; python_full_version >= '3.12'",
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+
47+
[tool.uv]
48+
default-groups = "all"
49+
50+
[tool.uv.sources]
51+
stackit-core = { path = "../../core" }
52+
53+
[tool.hatch.build.targets.sdist]
54+
include = ["src/stackit"]
55+
56+
[tool.hatch.build.targets.wheel]
57+
include = ["src/stackit"]
58+
59+
[tool.hatch.build.targets.wheel-sources]
60+
"src/stackit" = "stackit"
61+
62+
[build-system]
63+
requires = ["hatchling"]
64+
build-backend = "hatchling.build"
65+
66+
[tool.pytest.ini_options]
67+
pythonpath = [
68+
"src"
69+
]
70+
testpaths = [
71+
"tests"
72+
]
73+
74+
[tool.black]
75+
line-length = 120
76+
exclude = """
77+
/(
78+
.eggs
79+
| .git
80+
| .hg
81+
| .mypy_cache
82+
| .nox
83+
| .pants.d
84+
| .tox
85+
| .venv
86+
| _build
87+
| buck-out
88+
| build
89+
| dist
90+
| node_modules
91+
| venv
92+
)/
93+
"""
94+
95+
[tool.isort]
96+
profile = 'black'
97+
98+
[tool.flake8]
99+
exclude= [".eggs", ".git", ".hg", ".mypy_cache", ".tox", ".venv", ".devcontainer", "venv", "_build", "buck-out", "build", "dist"]
100+
statistics = true
101+
show-source = false
102+
max-line-length = 120
103+
# E203,W503 and E704 are incompatible with the formatter black
104+
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
105+
ignore = ["E203", "W503", "E704", "W291"]
106+
inline-quotes = '"'
107+
docstring-quotes = '"""'
108+
multiline-quotes = '"""'
109+
ban-relative-imports = true
110+
# Exclude generated code
111+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
# coding: utf-8
2+
3+
# flake8: noqa
4+
5+
"""
6+
STACKIT Key Value Store API
7+
8+
The STACKIT Key Value Store API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
9+
10+
The version of the OpenAPI document: 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+
"Backup",
32+
"CreateBackupResponseItem",
33+
"CreateCredentialsPayload",
34+
"CreateInstancePayload",
35+
"CreateInstanceResponse",
36+
"Credentials",
37+
"CredentialsListItem",
38+
"CredentialsResponse",
39+
"Error",
40+
"GetMetricsResponse",
41+
"Instance",
42+
"InstanceLastOperation",
43+
"InstanceParameters",
44+
"InstanceSchema",
45+
"ListCredentialsResponse",
46+
"ListInstancesResponse",
47+
"ListOfferingsResponse",
48+
"ListRestoresResponse",
49+
"ModelSchema",
50+
"Offering",
51+
"PartialUpdateInstancePayload",
52+
"Plan",
53+
"RawCredentials",
54+
"Restore",
55+
"TriggerRestoreResponse",
56+
"UpdateBackupsConfigPayload",
57+
"UpdateBackupsConfigResponse",
58+
]
59+
60+
# import apis into sdk package
61+
from stackit.valkey.api.default_api import DefaultApi as DefaultApi
62+
from stackit.valkey.api_client import ApiClient as ApiClient
63+
64+
# import ApiClient
65+
from stackit.valkey.api_response import ApiResponse as ApiResponse
66+
from stackit.valkey.configuration import HostConfiguration as HostConfiguration
67+
from stackit.valkey.exceptions import ApiAttributeError as ApiAttributeError
68+
from stackit.valkey.exceptions import ApiException as ApiException
69+
from stackit.valkey.exceptions import ApiKeyError as ApiKeyError
70+
from stackit.valkey.exceptions import ApiTypeError as ApiTypeError
71+
from stackit.valkey.exceptions import ApiValueError as ApiValueError
72+
from stackit.valkey.exceptions import OpenApiException as OpenApiException
73+
74+
# import models into sdk package
75+
from stackit.valkey.models.backup import Backup as Backup
76+
from stackit.valkey.models.create_backup_response_item import (
77+
CreateBackupResponseItem as CreateBackupResponseItem,
78+
)
79+
from stackit.valkey.models.create_credentials_payload import (
80+
CreateCredentialsPayload as CreateCredentialsPayload,
81+
)
82+
from stackit.valkey.models.create_instance_payload import (
83+
CreateInstancePayload as CreateInstancePayload,
84+
)
85+
from stackit.valkey.models.create_instance_response import (
86+
CreateInstanceResponse as CreateInstanceResponse,
87+
)
88+
from stackit.valkey.models.credentials import Credentials as Credentials
89+
from stackit.valkey.models.credentials_list_item import (
90+
CredentialsListItem as CredentialsListItem,
91+
)
92+
from stackit.valkey.models.credentials_response import (
93+
CredentialsResponse as CredentialsResponse,
94+
)
95+
from stackit.valkey.models.error import Error as Error
96+
from stackit.valkey.models.get_metrics_response import (
97+
GetMetricsResponse as GetMetricsResponse,
98+
)
99+
from stackit.valkey.models.instance import Instance as Instance
100+
from stackit.valkey.models.instance_last_operation import (
101+
InstanceLastOperation as InstanceLastOperation,
102+
)
103+
from stackit.valkey.models.instance_parameters import (
104+
InstanceParameters as InstanceParameters,
105+
)
106+
from stackit.valkey.models.instance_schema import InstanceSchema as InstanceSchema
107+
from stackit.valkey.models.list_credentials_response import (
108+
ListCredentialsResponse as ListCredentialsResponse,
109+
)
110+
from stackit.valkey.models.list_instances_response import (
111+
ListInstancesResponse as ListInstancesResponse,
112+
)
113+
from stackit.valkey.models.list_offerings_response import (
114+
ListOfferingsResponse as ListOfferingsResponse,
115+
)
116+
from stackit.valkey.models.list_restores_response import (
117+
ListRestoresResponse as ListRestoresResponse,
118+
)
119+
from stackit.valkey.models.model_schema import ModelSchema as ModelSchema
120+
from stackit.valkey.models.offering import Offering as Offering
121+
from stackit.valkey.models.partial_update_instance_payload import (
122+
PartialUpdateInstancePayload as PartialUpdateInstancePayload,
123+
)
124+
from stackit.valkey.models.plan import Plan as Plan
125+
from stackit.valkey.models.raw_credentials import RawCredentials as RawCredentials
126+
from stackit.valkey.models.restore import Restore as Restore
127+
from stackit.valkey.models.trigger_restore_response import (
128+
TriggerRestoreResponse as TriggerRestoreResponse,
129+
)
130+
from stackit.valkey.models.update_backups_config_payload import (
131+
UpdateBackupsConfigPayload as UpdateBackupsConfigPayload,
132+
)
133+
from stackit.valkey.models.update_backups_config_response import (
134+
UpdateBackupsConfigResponse as UpdateBackupsConfigResponse,
135+
)
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.valkey.api.default_api import DefaultApi

0 commit comments

Comments
 (0)