Skip to content

Commit 6c604f2

Browse files
Auto Implementerclaude
andcommitted
feat(gooddata-sdk): [AUTO] add region and data_center fields to CatalogOrganizationAttributes
Surfaces the new deploymentInfo fields (region, dataCenter) from the Organization API response through the SDK wrapper layer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b65ee3f commit 6c604f2

File tree

1 file changed

+4
-0
lines changed
  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model

1 file changed

+4
-0
lines changed

packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/organization.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def from_api(cls, entity: dict[str, Any]) -> CatalogOrganization:
5353
allowed_origins=safeget(ea, ["allowed_origins"]),
5454
oauth_issuer_location=safeget(ea, ["oauth_issuer_location"]),
5555
oauth_client_id=safeget(ea, ["oauth_client_id"]),
56+
region=safeget(ea, ["region"]),
57+
data_center=safeget(ea, ["data_center"]),
5658
)
5759

5860
identity_provider_id = safeget(er, ["identityProvider", "data", "id"])
@@ -87,6 +89,8 @@ class CatalogOrganizationAttributes(Base):
8789
allowed_origins: list[str] | None = None
8890
oauth_issuer_location: str | None = None
8991
oauth_client_id: str | None = None
92+
region: str | None = None
93+
data_center: str | None = None
9094

9195
@staticmethod
9296
def client_class() -> type[JsonApiOrganizationInAttributes]:

0 commit comments

Comments
 (0)