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

Function _db_single

scripts/cli/cmd_db.py:225–242  ·  view source on GitHub ↗

Execute a single query with streaming output.

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

db_query_executorFunction · 0.85
cmd_dbFunction · 0.85

Calls 1

_stream_responseFunction · 0.90

Tested by

no test coverage detected