Skip to content

Commit f76669d

Browse files
Generator: Update SDK /services/postgresflex (#8968)
* Generate postgresflex * chore(postgresflex): Add changelog Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> --------- Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent f815c23 commit f76669d

7 files changed

Lines changed: 11 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
- [v1.3.0](services/opensearch/CHANGELOG.md#v130)
2020
- **Breaking Change/Fix:** `create_backup` operation now returns `CreateBackupResponseItem` instead of `List[CreateBackupResponseItem]`
2121
The return type now correctly models the actual JSON response, this operation was broken beforehand.
22+
- `postgresflex`:
23+
- [v1.6.0](services/postgresflex/CHANGELOG.md#v160)
24+
- **Breaking Change:** `class` attribute in `CloneInstanceOverrides` and `StorageCreate` model is now required (previously optional)
2225
- `rabbitmq`:
2326
- [v1.3.0](services/rabbitmq/CHANGELOG.md#v130)
2427
- **Breaking Change/Fix:** `create_backup` operation now returns `CreateBackupResponseItem` instead of `List[CreateBackupResponseItem]`

services/postgresflex/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v1.6.0
2+
- **Breaking Change:** `class` attribute in `CloneInstanceOverrides` and `StorageCreate` model is now required (previously optional)
3+
14
## v1.5.0
25
- **Breaking Change:** The v3 API replaces the v2 API.
36

services/postgresflex/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c09e232a83532c75ca1041153e3ebc7ce2d50eb6
1+
da4701b7dbe20e984aef89711bb9ba716e19fcba

services/postgresflex/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-postgresflex"
3-
version = "v1.5.0"
3+
version = "v1.6.0"
44
description = "STACKIT PostgreSQL Flex API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.10,<4.0"

services/postgresflex/src/stackit/postgresflex/models/clone_instance_overrides.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ class CloneInstanceOverrides(BaseModel):
2828
CloneInstanceOverrides
2929
""" # noqa: E501
3030

31-
var_class: Optional[StrictStr] = Field(
32-
default=None, description="The storage class for the storage.", alias="class"
33-
)
31+
var_class: StrictStr = Field(description="The storage class for the storage.", alias="class")
3432
name: Optional[Annotated[str, Field(min_length=3, strict=True, max_length=63)]] = Field(
3533
default=None,
3634
description="The name of the cloned instance. If not provided, the default naming behavior of appending '-clone' to the source instance name is used.",

services/postgresflex/src/stackit/postgresflex/models/storage_create.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ class StorageCreate(BaseModel):
2828
The object containing information about the storage size and class.
2929
""" # noqa: E501
3030

31-
var_class: Optional[StrictStr] = Field(
32-
default=None, description="The storage class for the storage.", alias="class"
33-
)
31+
var_class: StrictStr = Field(description="The storage class for the storage.", alias="class")
3432
size: StrictInt = Field(description="The storage size in Gigabytes.")
3533
__properties: ClassVar[List[str]] = ["class", "size"]
3634

services/postgresflex/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)