MCPcopy Create free account
hub / github.com/aliyun/data-agent-skill / execute_query_batch

Function execute_query_batch

scripts/cli/streaming_utils.py:15–65  ·  view source on GitHub ↗

Execute a batch of queries with streaming output. Args: message_handler: Message handler instance session: Session object queries: List of queries to execute output_mode: Output mode (summary/detail/raw) output_dir: Output directory for files data

(
    message_handler: MessageHandler,
    session,
    queries: List[str],
    output_mode: str = "summary",
    output_dir: Optional[Path] = None,
    data_source: Optional[DataSource] = None,
    process_log_handler: Optional[StructuredLogHandler] = None
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

run_worker_with_handlerFunction · 0.85

Calls 1

Tested by

no test coverage detected