Skip to content

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

Closed
yenkins-admin wants to merge 2 commits intomasterfrom
feature/auto-P017-exclude-user-settings
Closed

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

Conversation

@yenkins-admin
Copy link
Contributor

Expose the new exclude_user_settings query parameter on SDK workspace settings resolution methods, allowing callers to bypass user-level setting overrides.
P017 | https://github.com/gooddata/gdc-nas/actions/runs/22176850727

What changed in gdc-nas

PR #19914 (be4d3d3): Wired fiscal calendar activation state into LDM generation. DataSourceService now resolves ActiveCalendarsSetting and passes it into GenerateLdmContext. AnonymousLdmGenerator.getDateGranularities() now requires both the fiscalCalendarsEnabled feature flag AND activeCalendars.fiscal=true to include fiscal granularities. ActiveCalendarsSetting.fiscal default changed from true to false.

PR #20044 (8ce1041): Added excludeUserSettings boolean query parameter (default false) to all four resolve-settings endpoints (workspaceResolveAllSettings, workspaceResolveSettings, resolveAllSettingsWithoutWorkspace, resolveSettingsWithoutWorkspace). When true, user-level settings are excluded from resolution. OpenAPI spec updated accordingly. The gooddata-api-client was already regenerated to expose exclude_user_settings on the corresponding methods.

What was implemented in SDK

Added exclude_user_settings: bool = False parameter to resolve_all_workspace_settings() and resolve_workspace_settings() in CatalogWorkspaceService. The parameter is forwarded to the underlying API client calls (workspace_resolve_all_settings and workspace_resolve_settings), allowing SDK consumers to bypass user-level setting overrides when resolving workspace settings. Default value of False maintains full backward compatibility.

Files modified

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

JIRA: DX (pending – Jira sandbox in maintenance at time of PR creation)
Risk: Low

Auto Impl and others added 2 commits February 19, 2026 10:20
…olve settings methods

Expose the new excludeUserSettings query parameter (added in backend PR #20044)
in the SDK wrapper methods resolve_all_workspace_settings and resolve_workspace_settings.
Both methods now accept exclude_user_settings: bool = False and forward it to the
underlying API client calls, allowing callers to bypass user-level setting overrides.

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