ENG-2245: Add GCP Looker scheduled plan trigger and list - #80
Open
kaustav98255 wants to merge 1 commit into
Open
ENG-2245: Add GCP Looker scheduled plan trigger and list#80kaustav98255 wants to merge 1 commit into
kaustav98255 wants to merge 1 commit into
Conversation
…-2245) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bhuvansingla
approved these changes
Mar 27, 2026
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
This PR adds support for triggering Looker scheduled plans and listing available plans through the Paradime CLI.
Changes
New Files
paradime/core/scripts/gcp_looker.py— Core implementation for Looker operations:_login()— Authenticates via POST to/api/4.0/loginwith form-encodedclient_idandclient_secret, returns access tokentrigger_looker_scheduled_plans()— Triggers multiple scheduled plans in parallel viaThreadPoolExecutorusingrun_onceendpoint_trigger_single_plan()— Triggers a single plan via POST to/api/4.0/scheduled_plans/{id}/run_oncelist_looker_scheduled_plans()— Lists all scheduled plans viaGET /api/4.0/scheduled_planswith ID, name, title, enabled, crontab, last run, and next runparadime/cli/integrations/gcp_looker.py— CLI command definitions for Looker operationsModified Files
paradime/cli/run.py— Registeredgcp_looker_triggerandgcp_looker_list_planscommandsCLI Commands
gcp-looker-trigger— Trigger Looker scheduled plansgcp-looker-list-plans— List all Looker scheduled plansImplementation Details
/api/4.0/loginwithclient_id+client_secret, returns access tokenrun_oncequeues the plan for execution, no polling neededThreadPoolExecutorLOOKER_BASE_URL,LOOKER_CLIENT_ID,LOOKER_CLIENT_SECRETviaenv_click_optionrequestslibrary