Skip to content

Commit 4d48ab1

Browse files
Generator: Update SDK /services/registry (#11791)
* Generate registry * chore(registry): Add changelogs 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 ddc22dd commit 4d48ab1

6 files changed

Lines changed: 22 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@
203203
- **Chore:** Support Python version 3.15
204204
- **Chore:** Update dependencies
205205
- `registry`:
206+
- [v0.3.0](services/registry/CHANGELOG.md#v030)
207+
- **Feature:** Add `error_description` field to `Artifactory` model which describes the reason for the error state
206208
- [v0.2.0](services/registry/CHANGELOG.md#v020)
207209
- **Chore:** Bump minimum Python version to 3.11
208210
- **Chore:** Support Python version 3.15

‎services/registry/CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.3.0
2+
- **Feature:** Add `error_description` field to `Artifactory` model which describes the reason for the error state
3+
14
## v0.2.0
25
- **Chore:** Bump minimum Python version to 3.11
36
- **Chore:** Support Python version 3.15

‎services/registry/oas_commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3d55d58fe8607afa4f894077e1e5c0a19ef57b3f
1+
d3f51a99ec81d4226be8c6d4826ed2547014edb0

‎services/registry/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-registry"
3-
version = "v0.2.0"
3+
version = "v0.3.0"
44
description = "STACKIT Container Registry API"
55
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
66
requires-python = ">=3.11,<4.0"

‎services/registry/src/stackit/registry/models/artifactory.py‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,26 @@ class Artifactory(BaseModel):
3737
create_time: datetime = Field(
3838
description="The date and time the creation of the STACKIT Artifactory was triggered."
3939
)
40+
error_description: Optional[StrictStr] = Field(
41+
default=None, description="Describes the reason for the error state."
42+
)
4043
id: UUID = Field(description="A auto generated unique id which identifies the STACKIT Artifactory.")
4144
name: Annotated[str, Field(strict=True, max_length=255)] = Field(
4245
description="A user chosen name to distinguish multiple STACKIT Artifactories."
4346
)
4447
proxy: Optional[Proxy] = None
4548
state: StrictStr = Field(description="The current state of the STACKIT Artifactory.")
4649
url: StrictStr = Field(description="The base URL of the STACKIT Artifactory.")
47-
__properties: ClassVar[List[str]] = ["consumed_quota_bytes", "create_time", "id", "name", "proxy", "state", "url"]
50+
__properties: ClassVar[List[str]] = [
51+
"consumed_quota_bytes",
52+
"create_time",
53+
"error_description",
54+
"id",
55+
"name",
56+
"proxy",
57+
"state",
58+
"url",
59+
]
4860

4961
@field_validator("create_time", mode="before")
5062
def create_time_change_year_zero_to_one(cls, value):
@@ -121,6 +133,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
121133
{
122134
"consumed_quota_bytes": obj.get("consumed_quota_bytes"),
123135
"create_time": obj.get("create_time"),
136+
"error_description": obj.get("error_description"),
124137
"id": obj.get("id"),
125138
"name": obj.get("name"),
126139
"proxy": Proxy.from_dict(obj["proxy"]) if obj.get("proxy") is not None else None,

‎services/registry/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)