feat(gooddata-sdk): [AUTO] Add dashboard arbitrary/match filter schemas; add usesArbitraryValues#1555
Closed
yenkins-admin wants to merge 1 commit intomasterfrom
Closed
feat(gooddata-sdk): [AUTO] Add dashboard arbitrary/match filter schemas; add usesArbitraryValues#1555yenkins-admin wants to merge 1 commit intomasterfrom
yenkins-admin wants to merge 1 commit intomasterfrom
Conversation
…as; add usesArbitraryValues
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1555 +/- ##
==========================================
+ Coverage 78.66% 78.69% +0.03%
==========================================
Files 230 230
Lines 15405 15427 +22
==========================================
+ Hits 12118 12140 +22
Misses 3287 3287 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added
uses_arbitrary_valuesoptional boolean field toPositiveAttributeFilterandNegativeAttributeFilterSDK wrapper classes, matching the newusesArbitraryValuesproperty added to these schemas across all four services (afm/automation/export/metadata). The newDashboardArbitraryAttributeFilterandDashboardMatchAttributeFilterschemas (added toDashboardFiltersoneOf) are already handled by the auto-generated API client and flow transparently through the SDK's dict-based automation model — no explicit SDK wrapper classes needed.Impact: new_feature | Services:
gooddata-afm-client,gooddata-automation-client,gooddata-export-client,gooddata-metadata-clientFiles changed
packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.pypackages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.pypackages/gooddata-sdk/src/gooddata_sdk/visualization.pypackages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.pypackages/gooddata-sdk/tests/compute_model/test_attribute_filters.pyAgent decisions
Decisions (3)
DashboardArbitraryAttributeFilter / DashboardMatchAttributeFilter SDK wrappers — No explicit SDK wrapper classes created; new types handled by generated client and flow via dict[str, Any] in automation contexts
arbitraryAttributeFilter conversion and uses_arbitrary_values — Do NOT set uses_arbitrary_values=True when converting arbitraryAttributeFilter to PositiveAttributeFilter/NegativeAttributeFilter
eq implementation scope — Override eq in both PositiveAttributeFilter and NegativeAttributeFilter to include uses_arbitrary_values
Assumptions to verify (3)
Risks (1)
Layers touched (3)
packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.pypackages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.pypackages/gooddata-sdk/src/gooddata_sdk/visualization.pypackages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.pypackages/gooddata-sdk/tests/compute_model/test_attribute_filters.pySource commits (gdc-nas)
af3e42dMerge pull request #21504 from gooddata/dho/cq-2114-automation-filters0468f7fMerge pull request #21536 from gooddata/dho/cq-2114-propc9c966bMerge pull request #21589 from gooddata/dho/cq-2114-flagOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow