Skip to content

Conversation

@ivpusic
Copy link
Member

@ivpusic ivpusic commented Nov 13, 2025

Implements pipeline execution and status endpoints.

New Features:

  • execute_query_pipeline() - Execute query pipelines with optional performance parameter
  • get_pipeline_status() - Get pipeline execution status with node details

Changes:

  • Added PipelineAPI class with pipeline endpoints
  • Added pipeline response models (PipelineExecutionResponse, PipelineStatusResponse, etc.)
  • Implemented both sync and async versions
  • Integrated into DuneClient and AsyncDuneClient

API Endpoints:

  • POST /api/v1/query/{query_id}/pipeline/execute
  • GET /api/v1/pipelines/executions/{pipeline_execution_id}/status

Note

Adds pipeline execution and status support, including models, sync/async client methods, and ExtendedAPI integration.

  • Pipeline support
    • Adds PipelineAPI with get_pipeline_status() (/pipelines/executions/{pipeline_execution_id}/status).
    • Adds execute_query_pipeline() in api/execution.py and AsyncDuneClient (/query/{query_id}/pipeline/execute).
    • Integrates PipelineAPI into ExtendedAPI.
  • Models
    • Introduces PipelineExecutionResponse, PipelineStatusResponse, PipelineNodeExecution, and PipelineQueryExecutionStatus.
  • Async client
    • Implements async execute_query_pipeline() and get_pipeline_status().

Written by Cursor Bugbot for commit 3dae066. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment @cursor review or bugbot run to trigger another review on this PR

Copy link
Contributor

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks clean to me. Might not hurt to have some test that ensures the api route is correct.

@ivpusic ivpusic merged commit 9f69ac7 into main Nov 13, 2025
2 checks passed
@ivpusic ivpusic deleted the pipelines branch November 13, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants