Repository navigation
feat(tool/looker-get-explore): expose certification_metadata for explores - #4482
Open
drstrangelooker wants to merge 1 commit into
Open
drstrangelooker wants to merge 1 commit into
drstrangelooker wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the looker-get-explore tool to retrieve and include certification_metadata for Looker explores. It updates the underlying Looker SDK dependency, modifies the tool implementation to perform a direct API request via sdk.AuthSession.Do to fetch the metadata, and updates the tool's YAML configuration and Markdown documentation to describe this new capability. Additionally, a comprehensive suite of unit tests has been added to verify the behavior of certified, uncertified, and hidden explores. There are no review comments, so no additional feedback is provided.
drstrangelooker
force-pushed
the
feat/looker-explore-certification-metadata
branch
from
November 12, 2026 21:03
c175290 to
69a775a
Compare
drstrangelooker
enabled auto-merge (squash)
November 12, 2026 21:07
1 task done
This branch has not been deployed
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.
1. Description
Exposes
certification_metadatainlooker-get-exploreso agents can distinguish certified ("golden") Explores from unvetted or revoked ones before generating queries:certification_metadatain thefieldsquery parameter onGET /4.0/lookml_models/{model}/explores/{explore}viasdk.AuthSession.Dointo a response struct embeddingv4.LookmlModelExplorewithCertificationMetadata *v4.Certification.certification_metadatain the returned map when present and omits it when absent (matching feat(tool/looker): expose certification_metadata in looker dashboard and look tools #4041).github.com/looker-open-source/sdk-codegen/gotov0.26.24.internal/tools/looker/lookergetexplore/lookergetexplore_test.go.docs/en/integrations/looker/tools/looker-get-explore.mdandinternal/prebuiltconfigs/tools/looker.yamlso agents know to prefercertifiedexplores.Security considerations:
modelandexploreare escaped withurl.PathEscapewhen constructing the Looker REST API path.source.GetLookerSDKandsdk.AuthSession.Do.RequiresClientAuthorizationandGetAuthTokenHeaderNameare unchanged; server-levelauthRequired/scopesRequiredchecks are untouched.2. PR Checklist
!if this involves a breaking change3. Issue Reference
Fixes #4307 🦕