feat(gooddata-sdk): [AUTO] Add typed JsonApiParameter entity with NumberParameterDefinition#1576
Open
yenkins-admin wants to merge 1 commit intomasterfrom
Open
feat(gooddata-sdk): [AUTO] Add typed JsonApiParameter entity with NumberParameterDefinition#1576yenkins-admin wants to merge 1 commit intomasterfrom
yenkins-admin wants to merge 1 commit intomasterfrom
Conversation
…berParameterDefinition
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1576 +/- ##
===========================================
+ Coverage 0.00% 78.69% +78.69%
===========================================
Files 158 231 +73
Lines 11048 15534 +4486
===========================================
+ Hits 0 12225 +12225
+ Misses 11048 3309 -7739 ☔ 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 for workspace-scoped parameters (C010). Added CatalogWorkspaceParameter entity model with full CRUD serialization, wired ParametersApi into GoodDataApiClient and CatalogServiceBase, added 4 service methods to CatalogWorkspaceService (list/get/create_or_update/delete), exported the three new classes from the public init.py, and wrote pure-unit tests covering construction, from_api deserialization, and document serialization round-trips.
Impact: new_feature | Services:
gooddata-afm-client,gooddata-metadata-clientFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/entity_model/parameter.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/service.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/catalog_service_base.pypackages/gooddata-sdk/src/gooddata_sdk/client.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/tests/catalog/test_workspace_parameter.pyAgent decisions
Decisions (4)
ParametersApi wiring — Added ParametersApi as a new property on GoodDataApiClient and CatalogServiceBase
from_api key casing — Use snake_case keys (e.g. default_value) when reading from API model objects
_build_attributes key casing — Use camelCase keys (defaultValue) in the dict built for API request bodies
create_or_update strategy — Try GET then PUT (update); catch NotFoundException and fall back to POST (create)
Assumptions to verify (4)
Risks (3)
Layers touched (3)
packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/entity_model/parameter.pypackages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/src/gooddata_sdk/client.pypackages/gooddata-sdk/src/gooddata_sdk/catalog/catalog_service_base.pypackages/gooddata-sdk/tests/catalog/test_workspace_parameter.pySource commits (gdc-nas)
7a10693Merge pull request #21351 from Vojtasii/vto/sf-pipec6bbf84Merge pull request #21680 from Vojtasii/vto/parametersfcad11cMerge pull request #22160 from Vojtasii/vto/parameters-raw-fix8ce9a88Merge pull request #22124 from Vojtasii/vto/parameters-include1d72882Merge pull request #22090 from Vojtasii/vto/parameters-afmOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow