Skip to content

feat(gooddata-sdk): [AUTO] add exclude_user_settings parameter to resolve workspace settings methods#1350

Open
yenkins-admin wants to merge 2 commits intomasterfrom
feature/auto-P007-exclude-user-settings
Open

feat(gooddata-sdk): [AUTO] add exclude_user_settings parameter to resolve workspace settings methods#1350
yenkins-admin wants to merge 2 commits intomasterfrom
feature/auto-P007-exclude-user-settings

Conversation

@yenkins-admin
Copy link
Contributor

Add optional exclude_user_settings parameter to resolve_all_workspace_settings() and resolve_workspace_settings() in the SDK workspace settings service.

P007 | Workflow: https://github.com/gooddata/gdc-nas/actions/runs/22181963264

What changed in gdc-nas

  • PR #19914 (be4d3d3): Changed default value of ActiveCalendarsSetting.fiscal from true to false. Made LDM generation conditionally include fiscal granularities only when the fiscal calendar is active per settings.

  • PR #20044 (8ce1041): Added new optional query parameter excludeUserSettings (boolean, default=false) to all four setting resolution endpoints (GET/POST /workspaces/{id}/resolveSettings, GET/POST /resolveSettings). When true, user-level settings are excluded from resolution so callers can request organization/workspace-level settings without user-level overrides.

What was implemented in SDK

Updated CatalogWorkspaceService to expose the new excludeUserSettings backend parameter:

  • resolve_all_workspace_settings() — accepts optional exclude_user_settings: Optional[bool] = None and forwards it to workspace_resolve_all_settings() when provided.
  • resolve_workspace_settings() — accepts optional exclude_user_settings: Optional[bool] = None and forwards it to workspace_resolve_settings() when provided.

Added four unit tests verifying the parameter is forwarded correctly when True and omitted when not specified.

Files modified

  • packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/service.py
  • packages/gooddata-sdk/tests/catalog/test_catalog_workspace.py

JIRA: PENDING (Jira ticket will be created after review)
Risk: Low

Auto Agent and others added 2 commits February 19, 2026 12:52
…olve workspace settings methods

Adds optional exclude_user_settings parameter to resolve_all_workspace_settings()
and resolve_workspace_settings() in CatalogWorkspaceService, forwarding it to
the underlying API client calls to support organization/workspace-level setting
resolution without user-level overrides (PR #20044).

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.

1 participant

Comments