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

Function _db_attach

scripts/cli/cmd_db.py:48–198  ·  view source on GitHub ↗

Attach to an existing session's SSE stream without sending a message. Streams all incoming events to stdout in real-time using the same formatting as _stream_response. Useful for: - Watching an ongoing analysis - Replaying the last round to review a plan before confirming

(
    sse_client: SSEClient,
    file_manager: FileManager,
    session,
    from_start: bool = False,
    checkpoint: Optional[int] = None,
    output_mode: str = "summary",
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

attach_query_executorFunction · 0.90
cmd_attachFunction · 0.90

Calls 8

StreamStateClass · 0.90
init_structured_loggingFunction · 0.90
_print_eventFunction · 0.90
close_structured_loggingFunction · 0.90
_finalize_streamFunction · 0.90
download_from_urlMethod · 0.80
stream_chat_contentMethod · 0.45
list_filesMethod · 0.45

Tested by

no test coverage detected