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

Method send_query

scripts/data_agent/message.py:33–81  ·  view source on GitHub ↗

Send a query and wait for complete response. Args: session: Active session to use. query: Natural language query. timeout: Optional timeout in seconds. data_source: Optional DataSource with database metadata. Returns: Comp

(
        self,
        session: SessionInfo,
        query: str,
        timeout: Optional[int] = None,
        data_source: Optional[DataSource] = None,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

MessageSendErrorClass · 0.90
ContentFetchErrorClass · 0.90
update_last_usedMethod · 0.80
send_messageMethod · 0.45
get_full_responseMethod · 0.45

Tested by

no test coverage detected