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

Function execute_single_query

scripts/cli/streaming_utils.py:87–120  ·  view source on GitHub ↗

Execute a single query with streaming output. Args: message_handler: Message handler instance session: Session object query: Query to execute output_mode: Output mode (summary/detail/raw) output_dir: Output directory for files data_source: Optiona

(
    message_handler: MessageHandler,
    session,
    query: 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