hyperstack 1.46.4a0__py3-none-any.whl → 1.48.0a0__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.
- hyperstack/__init__.py +1 -1
- hyperstack/api_client.py +1 -1
- hyperstack/configuration.py +1 -1
- hyperstack/models/object_storage_bucket_list_response.py +6 -4
- {hyperstack-1.46.4a0.dist-info → hyperstack-1.48.0a0.dist-info}/METADATA +1 -1
- {hyperstack-1.46.4a0.dist-info → hyperstack-1.48.0a0.dist-info}/RECORD +8 -8
- {hyperstack-1.46.4a0.dist-info → hyperstack-1.48.0a0.dist-info}/WHEEL +1 -1
- {hyperstack-1.46.4a0.dist-info → hyperstack-1.48.0a0.dist-info}/top_level.txt +0 -0
hyperstack/__init__.py
CHANGED
hyperstack/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/v1.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/v1.48.0-alpha/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
hyperstack/configuration.py
CHANGED
|
@@ -524,7 +524,7 @@ conf = hyperstack.Configuration(
|
|
|
524
524
|
"OS: {env}\n"\
|
|
525
525
|
"Python Version: {pyversion}\n"\
|
|
526
526
|
"Version of the API: 1.0\n"\
|
|
527
|
-
"SDK Package Version: v1.
|
|
527
|
+
"SDK Package Version: v1.48.0-alpha".\
|
|
528
528
|
format(env=sys.platform, pyversion=sys.version)
|
|
529
529
|
|
|
530
530
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -17,8 +17,8 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from ..models.object_storage_bucket_response import ObjectStorageBucketResponse
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
@@ -28,7 +28,8 @@ class ObjectStorageBucketListResponse(BaseModel):
|
|
|
28
28
|
ObjectStorageBucketListResponse
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
buckets: List[ObjectStorageBucketResponse]
|
|
31
|
-
|
|
31
|
+
failed_regions: Optional[List[StrictStr]] = None
|
|
32
|
+
__properties: ClassVar[List[str]] = ["buckets", "failed_regions"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
34
35
|
populate_by_name=True,
|
|
@@ -88,7 +89,8 @@ class ObjectStorageBucketListResponse(BaseModel):
|
|
|
88
89
|
return cls.model_validate(obj)
|
|
89
90
|
|
|
90
91
|
_obj = cls.model_validate({
|
|
91
|
-
"buckets": [ObjectStorageBucketResponse.from_dict(_item) for _item in obj["buckets"]] if obj.get("buckets") is not None else None
|
|
92
|
+
"buckets": [ObjectStorageBucketResponse.from_dict(_item) for _item in obj["buckets"]] if obj.get("buckets") is not None else None,
|
|
93
|
+
"failed_regions": obj.get("failed_regions")
|
|
92
94
|
})
|
|
93
95
|
return _obj
|
|
94
96
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
hyperstack/__init__.py,sha256=
|
|
2
|
-
hyperstack/api_client.py,sha256=
|
|
1
|
+
hyperstack/__init__.py,sha256=1wllm5IjElQ_EjOjvu7zJ6mCtDJezptbWRE0ALh3f6Y,25733
|
|
2
|
+
hyperstack/api_client.py,sha256=1oXOumn8_2DQSR5EmopL38Nqz65lMNLr1IAMo5fEsvg,27660
|
|
3
3
|
hyperstack/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
hyperstack/configuration.py,sha256=
|
|
4
|
+
hyperstack/configuration.py,sha256=rfGRYQdrIhDm-fz0moqWGPoXNMbzv3g01_ACsN-QmT8,18804
|
|
5
5
|
hyperstack/exceptions.py,sha256=WNUju20ADFYpDuZnq5o9FKSoa9N5nsCkMPNaK_VUrNM,6230
|
|
6
6
|
hyperstack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
hyperstack/rest.py,sha256=ewQJgH66o4QmU-YgavYnTiOvGqjLOHbd43ENkvfdsLA,9656
|
|
@@ -227,7 +227,7 @@ hyperstack/models/object_storage_access_key_create_request.py,sha256=tErZJiwhGI4
|
|
|
227
227
|
hyperstack/models/object_storage_access_key_create_response.py,sha256=X6POf7v6l1c_drHtpFnlFQnaeTQTclfK9Vzx7gam8AM,3481
|
|
228
228
|
hyperstack/models/object_storage_access_key_list_response.py,sha256=OG8fBbaxxTHLWrS4QaQYB6LuzBeI1KambtP9-1hpGAE,3797
|
|
229
229
|
hyperstack/models/object_storage_access_key_response.py,sha256=zXLOwOIacKxrIWGzkAwIjXTI0Mo9Uuhg1C-y9h_bDww,3368
|
|
230
|
-
hyperstack/models/object_storage_bucket_list_response.py,sha256=
|
|
230
|
+
hyperstack/models/object_storage_bucket_list_response.py,sha256=v_ELLjD9i-UypXmQvSIuXvdVXvTWuXLMankkx6OqwBs,3481
|
|
231
231
|
hyperstack/models/object_storage_bucket_response.py,sha256=bvCauE04mRH9dqUhtYiB1OZKTTQZDMlUhWBZFaOJc0Q,3596
|
|
232
232
|
hyperstack/models/object_storage_delete_response.py,sha256=aWo9bfsUOt5jIz6lroBTkmi4_GBLHEqJGkELB0R7KGg,2794
|
|
233
233
|
hyperstack/models/object_storage_error_response.py,sha256=Ksb3l02QljvAa6OPu6ZyG9ah06zrGOWh7ZF4q8qTMxo,3045
|
|
@@ -368,7 +368,7 @@ hyperstack/models/volumes_fields.py,sha256=5c5YBJBmFbTSI_O00V9enZ_zEeRh4hZHtlf3h
|
|
|
368
368
|
hyperstack/models/voucher.py,sha256=tAFBUSIrUHfpK2Rj5w964wfaWW6aJhoq4AjDUdC6gVU,2958
|
|
369
369
|
hyperstack/models/voucher_redeem_response_schema.py,sha256=xvfvnnR1a_CpIpgenFHrDJbbHl27Rn_AASHz-QD7TE0,3400
|
|
370
370
|
hyperstack/models/workload_billing_history_response.py,sha256=mXMmbg5JxL0oOdZ0rUuBlKxbSxPf8MhN1WluraZoyVU,3544
|
|
371
|
-
hyperstack-1.
|
|
372
|
-
hyperstack-1.
|
|
373
|
-
hyperstack-1.
|
|
374
|
-
hyperstack-1.
|
|
371
|
+
hyperstack-1.48.0a0.dist-info/METADATA,sha256=H9rDdVqXpeeye2VRCoHFs1f8eMM95Sr8An-d-DCvIEw,918
|
|
372
|
+
hyperstack-1.48.0a0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
373
|
+
hyperstack-1.48.0a0.dist-info/top_level.txt,sha256=njn3-XmjCMziM6_3QadnDQbqsVh2KYw4J1IysqyY0HI,11
|
|
374
|
+
hyperstack-1.48.0a0.dist-info/RECORD,,
|
|
File without changes
|