From 0340440b17002de9342ad2fd472fa80835986545 Mon Sep 17 00:00:00 2001 From: Auto Implementer Date: Wed, 18 Mar 2026 08:49:42 +0000 Subject: [PATCH] feat(gooddata-sdk): [AUTO] add region and data_center fields to CatalogOrganizationAttributes Add read-only `region` and `data_center` fields to CatalogOrganizationAttributes, and update CatalogOrganization.from_api() to deserialize them from API responses. These correspond to the @ApiOutOnly fields added in the metadata-api OpenAPI spec. --- .../catalog/organization/entity_model/organization.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/organization.py b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/organization.py index 10eff128f..c7243f856 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/organization.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/organization.py @@ -53,6 +53,8 @@ def from_api(cls, entity: dict[str, Any]) -> CatalogOrganization: allowed_origins=safeget(ea, ["allowed_origins"]), oauth_issuer_location=safeget(ea, ["oauth_issuer_location"]), oauth_client_id=safeget(ea, ["oauth_client_id"]), + region=safeget(ea, ["region"]), + data_center=safeget(ea, ["dataCenter"]), ) identity_provider_id = safeget(er, ["identityProvider", "data", "id"]) @@ -87,6 +89,8 @@ class CatalogOrganizationAttributes(Base): allowed_origins: list[str] | None = None oauth_issuer_location: str | None = None oauth_client_id: str | None = None + region: str | None = None + data_center: str | None = None @staticmethod def client_class() -> type[JsonApiOrganizationInAttributes]: