stackit-postgresflex 0.1.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stackit/postgresflex/api/default_api.py +9 -244
- stackit/postgresflex/configuration.py +28 -1
- stackit_postgresflex-0.3.0.dist-info/LICENSE.md +201 -0
- {stackit_postgresflex-0.1.0.dist-info → stackit_postgresflex-0.3.0.dist-info}/METADATA +1 -1
- stackit_postgresflex-0.3.0.dist-info/NOTICE.txt +2 -0
- {stackit_postgresflex-0.1.0.dist-info → stackit_postgresflex-0.3.0.dist-info}/RECORD +7 -5
- {stackit_postgresflex-0.1.0.dist-info → stackit_postgresflex-0.3.0.dist-info}/WHEEL +0 -0
|
@@ -1939,241 +1939,6 @@ class DefaultApi:
|
|
|
1939
1939
|
_request_auth=_request_auth,
|
|
1940
1940
|
)
|
|
1941
1941
|
|
|
1942
|
-
@validate_call
|
|
1943
|
-
def disable_service(
|
|
1944
|
-
self,
|
|
1945
|
-
project_id: Annotated[StrictStr, Field(description="Project ID")],
|
|
1946
|
-
_request_timeout: Union[
|
|
1947
|
-
None,
|
|
1948
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1949
|
-
Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]],
|
|
1950
|
-
] = None,
|
|
1951
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1952
|
-
_content_type: Optional[StrictStr] = None,
|
|
1953
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1954
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1955
|
-
) -> None:
|
|
1956
|
-
"""Terminate the Project
|
|
1957
|
-
|
|
1958
|
-
Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource
|
|
1959
|
-
|
|
1960
|
-
:param project_id: Project ID (required)
|
|
1961
|
-
:type project_id: str
|
|
1962
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1963
|
-
number provided, it will be total request
|
|
1964
|
-
timeout. It can also be a pair (tuple) of
|
|
1965
|
-
(connection, read) timeouts.
|
|
1966
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1967
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1968
|
-
request; this effectively ignores the
|
|
1969
|
-
authentication in the spec for a single request.
|
|
1970
|
-
:type _request_auth: dict, optional
|
|
1971
|
-
:param _content_type: force content-type for the request.
|
|
1972
|
-
:type _content_type: str, Optional
|
|
1973
|
-
:param _headers: set to override the headers for a single
|
|
1974
|
-
request; this effectively ignores the headers
|
|
1975
|
-
in the spec for a single request.
|
|
1976
|
-
:type _headers: dict, optional
|
|
1977
|
-
:param _host_index: set to override the host_index for a single
|
|
1978
|
-
request; this effectively ignores the host_index
|
|
1979
|
-
in the spec for a single request.
|
|
1980
|
-
:type _host_index: int, optional
|
|
1981
|
-
:return: Returns the result object.
|
|
1982
|
-
""" # noqa: E501 docstring might be too long
|
|
1983
|
-
|
|
1984
|
-
_param = self._disable_service_serialize(
|
|
1985
|
-
project_id=project_id,
|
|
1986
|
-
_request_auth=_request_auth,
|
|
1987
|
-
_content_type=_content_type,
|
|
1988
|
-
_headers=_headers,
|
|
1989
|
-
_host_index=_host_index,
|
|
1990
|
-
)
|
|
1991
|
-
|
|
1992
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1993
|
-
"200": None,
|
|
1994
|
-
"400": "Error",
|
|
1995
|
-
"405": None,
|
|
1996
|
-
"500": "Error",
|
|
1997
|
-
}
|
|
1998
|
-
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1999
|
-
response_data.read()
|
|
2000
|
-
return self.api_client.response_deserialize(
|
|
2001
|
-
response_data=response_data,
|
|
2002
|
-
response_types_map=_response_types_map,
|
|
2003
|
-
).data
|
|
2004
|
-
|
|
2005
|
-
@validate_call
|
|
2006
|
-
def disable_service_with_http_info(
|
|
2007
|
-
self,
|
|
2008
|
-
project_id: Annotated[StrictStr, Field(description="Project ID")],
|
|
2009
|
-
_request_timeout: Union[
|
|
2010
|
-
None,
|
|
2011
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
2012
|
-
Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]],
|
|
2013
|
-
] = None,
|
|
2014
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2015
|
-
_content_type: Optional[StrictStr] = None,
|
|
2016
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2017
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2018
|
-
) -> ApiResponse[None]:
|
|
2019
|
-
"""Terminate the Project
|
|
2020
|
-
|
|
2021
|
-
Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource
|
|
2022
|
-
|
|
2023
|
-
:param project_id: Project ID (required)
|
|
2024
|
-
:type project_id: str
|
|
2025
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
2026
|
-
number provided, it will be total request
|
|
2027
|
-
timeout. It can also be a pair (tuple) of
|
|
2028
|
-
(connection, read) timeouts.
|
|
2029
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
2030
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
2031
|
-
request; this effectively ignores the
|
|
2032
|
-
authentication in the spec for a single request.
|
|
2033
|
-
:type _request_auth: dict, optional
|
|
2034
|
-
:param _content_type: force content-type for the request.
|
|
2035
|
-
:type _content_type: str, Optional
|
|
2036
|
-
:param _headers: set to override the headers for a single
|
|
2037
|
-
request; this effectively ignores the headers
|
|
2038
|
-
in the spec for a single request.
|
|
2039
|
-
:type _headers: dict, optional
|
|
2040
|
-
:param _host_index: set to override the host_index for a single
|
|
2041
|
-
request; this effectively ignores the host_index
|
|
2042
|
-
in the spec for a single request.
|
|
2043
|
-
:type _host_index: int, optional
|
|
2044
|
-
:return: Returns the result object.
|
|
2045
|
-
""" # noqa: E501 docstring might be too long
|
|
2046
|
-
|
|
2047
|
-
_param = self._disable_service_serialize(
|
|
2048
|
-
project_id=project_id,
|
|
2049
|
-
_request_auth=_request_auth,
|
|
2050
|
-
_content_type=_content_type,
|
|
2051
|
-
_headers=_headers,
|
|
2052
|
-
_host_index=_host_index,
|
|
2053
|
-
)
|
|
2054
|
-
|
|
2055
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
2056
|
-
"200": None,
|
|
2057
|
-
"400": "Error",
|
|
2058
|
-
"405": None,
|
|
2059
|
-
"500": "Error",
|
|
2060
|
-
}
|
|
2061
|
-
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
2062
|
-
response_data.read()
|
|
2063
|
-
return self.api_client.response_deserialize(
|
|
2064
|
-
response_data=response_data,
|
|
2065
|
-
response_types_map=_response_types_map,
|
|
2066
|
-
)
|
|
2067
|
-
|
|
2068
|
-
@validate_call
|
|
2069
|
-
def disable_service_without_preload_content(
|
|
2070
|
-
self,
|
|
2071
|
-
project_id: Annotated[StrictStr, Field(description="Project ID")],
|
|
2072
|
-
_request_timeout: Union[
|
|
2073
|
-
None,
|
|
2074
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
2075
|
-
Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]],
|
|
2076
|
-
] = None,
|
|
2077
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2078
|
-
_content_type: Optional[StrictStr] = None,
|
|
2079
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2080
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2081
|
-
) -> RESTResponseType:
|
|
2082
|
-
"""Terminate the Project
|
|
2083
|
-
|
|
2084
|
-
Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource
|
|
2085
|
-
|
|
2086
|
-
:param project_id: Project ID (required)
|
|
2087
|
-
:type project_id: str
|
|
2088
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
2089
|
-
number provided, it will be total request
|
|
2090
|
-
timeout. It can also be a pair (tuple) of
|
|
2091
|
-
(connection, read) timeouts.
|
|
2092
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
2093
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
2094
|
-
request; this effectively ignores the
|
|
2095
|
-
authentication in the spec for a single request.
|
|
2096
|
-
:type _request_auth: dict, optional
|
|
2097
|
-
:param _content_type: force content-type for the request.
|
|
2098
|
-
:type _content_type: str, Optional
|
|
2099
|
-
:param _headers: set to override the headers for a single
|
|
2100
|
-
request; this effectively ignores the headers
|
|
2101
|
-
in the spec for a single request.
|
|
2102
|
-
:type _headers: dict, optional
|
|
2103
|
-
:param _host_index: set to override the host_index for a single
|
|
2104
|
-
request; this effectively ignores the host_index
|
|
2105
|
-
in the spec for a single request.
|
|
2106
|
-
:type _host_index: int, optional
|
|
2107
|
-
:return: Returns the result object.
|
|
2108
|
-
""" # noqa: E501 docstring might be too long
|
|
2109
|
-
|
|
2110
|
-
_param = self._disable_service_serialize(
|
|
2111
|
-
project_id=project_id,
|
|
2112
|
-
_request_auth=_request_auth,
|
|
2113
|
-
_content_type=_content_type,
|
|
2114
|
-
_headers=_headers,
|
|
2115
|
-
_host_index=_host_index,
|
|
2116
|
-
)
|
|
2117
|
-
|
|
2118
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
2119
|
-
"200": None,
|
|
2120
|
-
"400": "Error",
|
|
2121
|
-
"405": None,
|
|
2122
|
-
"500": "Error",
|
|
2123
|
-
}
|
|
2124
|
-
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
2125
|
-
return response_data.response
|
|
2126
|
-
|
|
2127
|
-
def _disable_service_serialize(
|
|
2128
|
-
self,
|
|
2129
|
-
project_id,
|
|
2130
|
-
_request_auth,
|
|
2131
|
-
_content_type,
|
|
2132
|
-
_headers,
|
|
2133
|
-
_host_index,
|
|
2134
|
-
) -> RequestSerialized:
|
|
2135
|
-
|
|
2136
|
-
_host = None
|
|
2137
|
-
|
|
2138
|
-
_collection_formats: Dict[str, str] = {}
|
|
2139
|
-
|
|
2140
|
-
_path_params: Dict[str, str] = {}
|
|
2141
|
-
_query_params: List[Tuple[str, str]] = []
|
|
2142
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2143
|
-
_form_params: List[Tuple[str, str]] = []
|
|
2144
|
-
_files: Dict[str, Union[str, bytes]] = {}
|
|
2145
|
-
_body_params: Optional[bytes] = None
|
|
2146
|
-
|
|
2147
|
-
# process the path parameters
|
|
2148
|
-
if project_id is not None:
|
|
2149
|
-
_path_params["projectId"] = project_id
|
|
2150
|
-
# process the query parameters
|
|
2151
|
-
# process the header parameters
|
|
2152
|
-
# process the form parameters
|
|
2153
|
-
# process the body parameter
|
|
2154
|
-
|
|
2155
|
-
# set the HTTP header `Accept`
|
|
2156
|
-
if "Accept" not in _header_params:
|
|
2157
|
-
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
2158
|
-
|
|
2159
|
-
# authentication setting
|
|
2160
|
-
_auth_settings: List[str] = []
|
|
2161
|
-
|
|
2162
|
-
return self.api_client.param_serialize(
|
|
2163
|
-
method="DELETE",
|
|
2164
|
-
resource_path="/v1/projects/{projectId}",
|
|
2165
|
-
path_params=_path_params,
|
|
2166
|
-
query_params=_query_params,
|
|
2167
|
-
header_params=_header_params,
|
|
2168
|
-
body=_body_params,
|
|
2169
|
-
post_params=_form_params,
|
|
2170
|
-
files=_files,
|
|
2171
|
-
auth_settings=_auth_settings,
|
|
2172
|
-
collection_formats=_collection_formats,
|
|
2173
|
-
_host=_host,
|
|
2174
|
-
_request_auth=_request_auth,
|
|
2175
|
-
)
|
|
2176
|
-
|
|
2177
1942
|
@validate_call
|
|
2178
1943
|
def force_delete_instance(
|
|
2179
1944
|
self,
|
|
@@ -4438,7 +4203,7 @@ class DefaultApi:
|
|
|
4438
4203
|
metric: Annotated[
|
|
4439
4204
|
StrictStr,
|
|
4440
4205
|
Field(
|
|
4441
|
-
description="The name of the metric. Valid metrics are 'cpu', 'memory', '
|
|
4206
|
+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
|
|
4442
4207
|
),
|
|
4443
4208
|
],
|
|
4444
4209
|
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
|
|
@@ -4472,13 +4237,13 @@ class DefaultApi:
|
|
|
4472
4237
|
) -> InstanceMetricsResponse:
|
|
4473
4238
|
"""Get Metric
|
|
4474
4239
|
|
|
4475
|
-
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in
|
|
4240
|
+
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
|
|
4476
4241
|
|
|
4477
4242
|
:param project_id: The UUID of the project. (required)
|
|
4478
4243
|
:type project_id: str
|
|
4479
4244
|
:param instance_id: The UUID of the instance. (required)
|
|
4480
4245
|
:type instance_id: str
|
|
4481
|
-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', '
|
|
4246
|
+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
|
|
4482
4247
|
:type metric: str
|
|
4483
4248
|
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
|
|
4484
4249
|
:type granularity: str
|
|
@@ -4545,7 +4310,7 @@ class DefaultApi:
|
|
|
4545
4310
|
metric: Annotated[
|
|
4546
4311
|
StrictStr,
|
|
4547
4312
|
Field(
|
|
4548
|
-
description="The name of the metric. Valid metrics are 'cpu', 'memory', '
|
|
4313
|
+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
|
|
4549
4314
|
),
|
|
4550
4315
|
],
|
|
4551
4316
|
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
|
|
@@ -4579,13 +4344,13 @@ class DefaultApi:
|
|
|
4579
4344
|
) -> ApiResponse[InstanceMetricsResponse]:
|
|
4580
4345
|
"""Get Metric
|
|
4581
4346
|
|
|
4582
|
-
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in
|
|
4347
|
+
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
|
|
4583
4348
|
|
|
4584
4349
|
:param project_id: The UUID of the project. (required)
|
|
4585
4350
|
:type project_id: str
|
|
4586
4351
|
:param instance_id: The UUID of the instance. (required)
|
|
4587
4352
|
:type instance_id: str
|
|
4588
|
-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', '
|
|
4353
|
+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
|
|
4589
4354
|
:type metric: str
|
|
4590
4355
|
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
|
|
4591
4356
|
:type granularity: str
|
|
@@ -4652,7 +4417,7 @@ class DefaultApi:
|
|
|
4652
4417
|
metric: Annotated[
|
|
4653
4418
|
StrictStr,
|
|
4654
4419
|
Field(
|
|
4655
|
-
description="The name of the metric. Valid metrics are 'cpu', 'memory', '
|
|
4420
|
+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
|
|
4656
4421
|
),
|
|
4657
4422
|
],
|
|
4658
4423
|
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
|
|
@@ -4686,13 +4451,13 @@ class DefaultApi:
|
|
|
4686
4451
|
) -> RESTResponseType:
|
|
4687
4452
|
"""Get Metric
|
|
4688
4453
|
|
|
4689
|
-
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in
|
|
4454
|
+
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
|
|
4690
4455
|
|
|
4691
4456
|
:param project_id: The UUID of the project. (required)
|
|
4692
4457
|
:type project_id: str
|
|
4693
4458
|
:param instance_id: The UUID of the instance. (required)
|
|
4694
4459
|
:type instance_id: str
|
|
4695
|
-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', '
|
|
4460
|
+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
|
|
4696
4461
|
:type metric: str
|
|
4697
4462
|
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
|
|
4698
4463
|
:type granularity: str
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
13
|
""" # noqa: E501 docstring might be too long
|
|
14
14
|
|
|
15
|
+
import os
|
|
16
|
+
|
|
15
17
|
|
|
16
18
|
class HostConfiguration:
|
|
17
19
|
def __init__(
|
|
@@ -23,7 +25,14 @@ class HostConfiguration:
|
|
|
23
25
|
server_operation_variables=None,
|
|
24
26
|
ignore_operation_servers=False,
|
|
25
27
|
) -> None:
|
|
26
|
-
|
|
28
|
+
print(
|
|
29
|
+
"WARNING: STACKIT will move to a new way of specifying regions, where the region is provided\n",
|
|
30
|
+
"as a function argument instead of being set in the client configuration.\n"
|
|
31
|
+
"Once all services have migrated, the methods to specify the region in the client configuration "
|
|
32
|
+
"will be removed.",
|
|
33
|
+
)
|
|
34
|
+
"""Constructor
|
|
35
|
+
"""
|
|
27
36
|
self._base_path = "https://postgres-flex-service.api.eu01.stackit.cloud"
|
|
28
37
|
"""Default Base url
|
|
29
38
|
"""
|
|
@@ -65,6 +74,7 @@ class HostConfiguration:
|
|
|
65
74
|
:param index: array index of the host settings
|
|
66
75
|
:param variables: hash of variable and the corresponding value
|
|
67
76
|
:param servers: an array of host settings or None
|
|
77
|
+
:error: if a region is given for a global url
|
|
68
78
|
:return: URL based on host settings
|
|
69
79
|
"""
|
|
70
80
|
if index is None:
|
|
@@ -83,8 +93,25 @@ class HostConfiguration:
|
|
|
83
93
|
|
|
84
94
|
url = server["url"]
|
|
85
95
|
|
|
96
|
+
# check if environment variable was provided for region
|
|
97
|
+
# if nothing was set this is None
|
|
98
|
+
region_env = os.environ.get("STACKIT_REGION")
|
|
99
|
+
|
|
86
100
|
# go through variables and replace placeholders
|
|
87
101
|
for variable_name, variable in server.get("variables", {}).items():
|
|
102
|
+
# If a region is provided by the user for a global url
|
|
103
|
+
# return an error (except for providing via environment variable).
|
|
104
|
+
# The region is provided as a function argument instead of being set in the client configuration.
|
|
105
|
+
if (
|
|
106
|
+
variable_name == "region"
|
|
107
|
+
and (variable["default_value"] == "global" or variable["default_value"] == "")
|
|
108
|
+
and region_env is None
|
|
109
|
+
and variables.get(variable_name) is not None
|
|
110
|
+
):
|
|
111
|
+
raise ValueError(
|
|
112
|
+
"this API does not support setting a region in the the client configuration, "
|
|
113
|
+
"please check if the region can be specified as a function parameter"
|
|
114
|
+
)
|
|
88
115
|
used_value = variables.get(variable_name, variable["default_value"])
|
|
89
116
|
|
|
90
117
|
if "enum_values" in variable and used_value not in variable["enum_values"]:
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 Schwarz IT KG
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
stackit/postgresflex/__init__.py,sha256=sgC36333ZzQOgfDH0E8BBe7QJ-wHSQONOL7BaT0GTUc,5444
|
|
2
2
|
stackit/postgresflex/api/__init__.py,sha256=o9Yn39BawyTTsTGsVzVPZ5-Or_0CKwHlAAAIUMqtxjc,107
|
|
3
|
-
stackit/postgresflex/api/default_api.py,sha256=
|
|
3
|
+
stackit/postgresflex/api/default_api.py,sha256=MP20tP7Uiqd8K7a8T-G3y84MW7_c-a4P8oXOHcy1L7U,305428
|
|
4
4
|
stackit/postgresflex/api_client.py,sha256=yLk2TUBNmwIRPrxPum8gYm73lpESfWtv2E49U9SLsbs,22747
|
|
5
5
|
stackit/postgresflex/api_response.py,sha256=HRYkVqMNIlfODacTQPTbiVj2YdcnutpQrKJdeAoCSpM,642
|
|
6
|
-
stackit/postgresflex/configuration.py,sha256
|
|
6
|
+
stackit/postgresflex/configuration.py,sha256=-5roiM-_HJShkc28rKOWgCNayWi8hNRHbfZkL6qQXHg,5251
|
|
7
7
|
stackit/postgresflex/exceptions.py,sha256=yXv-AlWSGyOQN7weaYmyvtPp3phOCrg_hNLqXq_2hHg,5956
|
|
8
8
|
stackit/postgresflex/models/__init__.py,sha256=euUErwGFnq4LTITJWeohEtsBpfzQQjbZtqZ2yjRbPi4,4968
|
|
9
9
|
stackit/postgresflex/models/acl.py,sha256=hMTxIXKtTzmpkDvyjqgK3NCwUWpYdor8q-hlQzIXXeo,2403
|
|
@@ -62,6 +62,8 @@ stackit/postgresflex/models/user.py,sha256=vaG90-dxinO9Rz576O2OtlBiVFlSUxAq94Z0_
|
|
|
62
62
|
stackit/postgresflex/models/user_response.py,sha256=5g-HMSP-Kh9hBM1Sf5LVl8irQRP6U5_lR0ZkDrHLZzM,2855
|
|
63
63
|
stackit/postgresflex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
64
|
stackit/postgresflex/rest.py,sha256=NxPlTct-__5AsE_wJCprOKr-PqevXft5Mo8EEbxR2ok,5841
|
|
65
|
-
stackit_postgresflex-0.
|
|
66
|
-
stackit_postgresflex-0.
|
|
67
|
-
stackit_postgresflex-0.
|
|
65
|
+
stackit_postgresflex-0.3.0.dist-info/LICENSE.md,sha256=3dF8Tb7yZn2tS4zyNa-yNe-68pH8qyWdGz4ioMd3MgE,10933
|
|
66
|
+
stackit_postgresflex-0.3.0.dist-info/METADATA,sha256=CBletWAwFtEsMisT60hj8D4AfrZgD_1oH63tpmGBDBw,1620
|
|
67
|
+
stackit_postgresflex-0.3.0.dist-info/NOTICE.txt,sha256=dfclnS31cAj0fpPzKDsJywff703M-uXw4rUhlfsixTM,67
|
|
68
|
+
stackit_postgresflex-0.3.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
69
|
+
stackit_postgresflex-0.3.0.dist-info/RECORD,,
|
|
File without changes
|