Skip to content

feat(gooddata-sdk): [AUTO] add CatalogCustomGeoCollection wrappers with name and description fields#1343

Closed
yenkins-admin wants to merge 2 commits intomasterfrom
feature/auto-P012-custom-geo-collection-name-description
Closed

feat(gooddata-sdk): [AUTO] add CatalogCustomGeoCollection wrappers with name and description fields#1343
yenkins-admin wants to merge 2 commits intomasterfrom
feature/auto-P012-custom-geo-collection-name-description

Conversation

@yenkins-admin
Copy link
Contributor

Add SDK wrappers for CustomGeoCollection entity and DeclarativeCustomGeoCollection layout model, exposing the new optional name and description fields added in gdc-nas.
P012 | https://github.com/gooddata/gdc-nas/actions/runs/22176850727

gdc-nas Changes

Commit e208d68 (Merge PR #20263) added optional name (VARCHAR 255) and description (VARCHAR 10000) fields to both CustomGeoCollection entity model and DeclarativeCustomGeoCollection layout model in metadata-api. Includes DB migration (Liquibase changeset custom-geo-collection-name-description), repository mapping updates (OrganizationTables.kt, OrganizationMapping.kt, OrganizationLayout.kt), and OpenAPI spec regeneration (JsonApiCustomGeoCollectionIn/Out/Patch, DeclarativeCustomGeoCollection schemas).

SDK Implementation

New wrapper classes and service methods created:

  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/custom_geo_collection.py (NEW) — CatalogCustomGeoCollection wrapper class with optional name and description fields, from_api_model / as_api_model serialization
  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/layout/custom_geo_collection.py (NEW) — CatalogDeclarativeCustomGeoCollection wrapper class for layout model
  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/service.py — Added 6 service methods: list_custom_geo_collections, get_custom_geo_collection, create_custom_geo_collection, delete_custom_geo_collection, get_custom_geo_collections_layout, set_custom_geo_collections
  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/entity_model/__init__.py — Export CatalogCustomGeoCollection
  • packages/gooddata-sdk/src/gooddata_sdk/catalog/organization/layout/__init__.py — Export CatalogDeclarativeCustomGeoCollection
  • packages/gooddata-sdk/src/gooddata_sdk/__init__.py — Top-level exports added
  • packages/gooddata-sdk/tests/catalog/test_catalog_organization.py — New test functions
  • packages/gooddata-sdk/tests/catalog/fixtures/organization/create_custom_geo_collection.yaml (NEW) — VCR cassette fixture
  • packages/gooddata-sdk/tests/catalog/fixtures/organization/layout_custom_geo_collections.yaml (NEW) — VCR cassette fixture

Warning: This PR adds/modifies test cassettes. These cassettes should be tested locally before merging to ensure they match the actual API responses.

JIRA: DX-PENDING (https://gooddata-sandbox.atlassian.net)
Risk: Low

Auto Agent and others added 2 commits February 19, 2026 10:21
…DeclarativeCustomGeoCollection wrappers

Adds SDK wrapper classes and service methods for the CustomGeoCollection
entity and DeclarativeCustomGeoCollection layout model, including optional
name and description fields, CRUD service methods, and test fixtures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments