kc-sdk-python 4.2.0__tar.gz → 4.3.0__tar.gz
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.
- {kc_sdk_python-4.2.0/kc_sdk_python.egg-info → kc_sdk_python-4.3.0}/PKG-INFO +1 -1
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/kc_api.py +16 -1
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0/kc_sdk_python.egg-info}/PKG-INFO +1 -1
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/pyproject.toml +1 -1
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/LICENSE +0 -0
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/README.md +0 -0
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/kc_sdk_python.egg-info/SOURCES.txt +0 -0
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/kc_sdk_python.egg-info/dependency_links.txt +0 -0
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/kc_sdk_python.egg-info/requires.txt +0 -0
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/kc_sdk_python.egg-info/top_level.txt +0 -0
- {kc_sdk_python-4.2.0 → kc_sdk_python-4.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kc-sdk-python
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3.0
|
|
4
4
|
Summary: Kvindo Cloud Python SDK — typed client for managing Kvindo Cloud infrastructure (VMs, S3, Kubernetes, load balancers, VPCs, PostgreSQL) via the REST API
|
|
5
5
|
Author: Kvindo
|
|
6
6
|
License-Expression: MIT
|
|
@@ -149,7 +149,22 @@ class KcApiModificationErrorCode(Enum):
|
|
|
149
149
|
"""The organization's quota for this resource type/parameter would be exceeded, counting
|
|
150
150
|
resources that are submitted but not yet reconciled ("holds"). Not retryable - the caller
|
|
151
151
|
must delete resources or raise the quota. HTTP 409."""
|
|
152
|
-
|
|
152
|
+
SubmitLockBusy = "SubmitLockBusy"
|
|
153
|
+
"""The per-organization submit lock (QuotaSubmitLock) could not be acquired within its
|
|
154
|
+
budget window (concurrent submit contention for the same org - another create/modify/delete
|
|
155
|
+
was already in flight). Retryable - safe to retry the identical request, the lock exists
|
|
156
|
+
precisely to serialize this race. HTTP 422."""
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# All three response classes below mirror KvindoCloud.Api.Models.ApiModificationResponse -
|
|
160
|
+
# marshmallow_dataclass's default Schema().load() raises ValidationError on any field the C#
|
|
161
|
+
# side sends that isn't declared here (unknown = RAISE is the marshmallow default), so every
|
|
162
|
+
# field ApiModificationResponse carries must have a matching one here or parsing crashes for
|
|
163
|
+
# every caller of create/update/delete, not just the endpoint that happens to populate it.
|
|
164
|
+
# (A retryAfterSeconds body field was added and removed again the same day for the synchronous
|
|
165
|
+
# submit-time quota gate - it crashed every create/update/delete call for exactly this reason.
|
|
166
|
+
# The retry hint is now carried as a real HTTP Retry-After response header instead, which this
|
|
167
|
+
# marshmallow schema never sees, so there is nothing to mirror here for it.)
|
|
153
168
|
|
|
154
169
|
@dataclass
|
|
155
170
|
class KcResourceDeleteResponse(object):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kc-sdk-python
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3.0
|
|
4
4
|
Summary: Kvindo Cloud Python SDK — typed client for managing Kvindo Cloud infrastructure (VMs, S3, Kubernetes, load balancers, VPCs, PostgreSQL) via the REST API
|
|
5
5
|
Author: Kvindo
|
|
6
6
|
License-Expression: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "kc-sdk-python"
|
|
7
|
-
version = "4.
|
|
7
|
+
version = "4.3.0"
|
|
8
8
|
description = "Kvindo Cloud Python SDK — typed client for managing Kvindo Cloud infrastructure (VMs, S3, Kubernetes, load balancers, VPCs, PostgreSQL) via the REST API"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|