feat(gooddata-sdk): [AUTO] Add dashboard context, UI context, and widget descriptor schemas#1537
Open
yenkins-admin wants to merge 1 commit intomasterfrom
Open
feat(gooddata-sdk): [AUTO] Add dashboard context, UI context, and widget descriptor schemas#1537yenkins-admin wants to merge 1 commit intomasterfrom
yenkins-admin wants to merge 1 commit intomasterfrom
Conversation
…get descriptor schemas
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1537 +/- ##
==========================================
- Coverage 78.66% 78.51% -0.15%
==========================================
Files 230 231 +1
Lines 15400 15554 +154
==========================================
+ Hits 12114 12213 +99
- Misses 3286 3341 +55 ☔ 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
Implemented SDK wrapper classes for the new dashboard context, UI context, and widget descriptor schemas. Created
gooddata_sdk/compute/model/ai_context.pywith 10 new wrapper classes:CatalogActiveObjectIdentification,CatalogObjectReference,CatalogObjectReferenceGroup,CatalogWidgetDescriptor,CatalogInsightWidgetDescriptor,CatalogRichTextWidgetDescriptor,CatalogVisualizationSwitcherWidgetDescriptor,CatalogDashboardContext,CatalogUIContext, andCatalogUserContext. Each class implementsto_api()to convert SDK objects to the correspondinggooddata_api_clientmodels. Updatedcompute/service.pyto add an optionaluser_contextparameter toai_chat()andai_chat_stream()methods. All new classes are exported fromgooddata_sdk/__init__.py. All ruff checks pass and import validation succeeds.Impact: new_feature | Services:
gooddata-afm-clientTickets: LX-2141
Files changed
sdk/packages/gooddata-sdk/src/gooddata_sdk/compute/model/ai_context.pysdk/packages/gooddata-sdk/src/gooddata_sdk/compute/service.pysdk/packages/gooddata-sdk/src/gooddata_sdk/__init__.pySource commits (gdc-nas)
3f2b607Merge pull request #21274 from gooddata/smac/LX-214163dd6bffeat(gen-ai): refactor widgets polymorphism and enhance OpenAPI spec499bb70feat(gen-ai): add support for filters for visualizations075d22dMerge pull request #21389 from gooddata/dho/trivial-fixOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow