Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aliyun/data-agent-skill
/ functions
Functions
258 in github.com/aliyun/data-agent-skill
⨍
Functions
258
◇
Types & classes
49
Function
cmd_db
Handle db subcommand.
scripts/cli/cmd_db.py:245
Function
cmd_dms
Handle dms subcommand for DMS tools.
scripts/cli/cmd_dms.py:13
Function
cmd_file
Handle file subcommand.
scripts/cli/cmd_file.py:30
Function
cmd_import
Handle import subcommand for adding DMS tables to Data Center.
scripts/cli/cmd_import.py:30
Function
cmd_ls
List DMS databases and (optionally) their tables.
scripts/cli/cmd_ls.py:49
Function
cmd_reports
Handle reports subcommand.
scripts/cli/cmd_reports.py:19
Function
cmd_workspace
List Data Agent workspaces.
scripts/cli/cmd_workspace.py:32
Method
config
Get the client configuration.
scripts/data_agent/client.py:1391
Method
config
Get the client configuration.
scripts/data_agent/client.py:1708
Method
create_or_reuse
Create a new session or reuse an existing one asynchronously. Args: session_id: Optional existing session ID to reuse.
scripts/data_agent/session.py:282
Method
create_session
Create a new Data Agent session asynchronously. Args: database_id: Optional database ID to bind to the session. title
scripts/data_agent/client.py:1428
Function
db_query_executor
(message_handler, session, args)
scripts/cli/cmd_db.py:288
Function
decorator
(func: Callable[..., T])
scripts/data_agent/client.py:86
Method
delete_file
Delete an uploaded file. Args: file_id: The file ID to delete. client_token: Optional idempotency token, auto-generat
scripts/data_agent/client.py:1112
Method
delete_file
Delete a file asynchronously. Args: file_id: The file ID to delete. client_token: Optional idempotency token.
scripts/data_agent/client.py:1610
Method
delete_file
Delete an uploaded file asynchronously. Args: file_id: The file ID to delete. session_id: Optional session ID used to
scripts/data_agent/file_manager.py:535
Method
describe_custom_agent
Get detailed information about a custom agent asynchronously. Args: custom_agent_id: The custom agent ID. workspace_i
scripts/data_agent/client.py:1687
Method
describe_session
Get the status of a session asynchronously. Args: session_id: The session ID. agent_id: The agent ID (optional).
scripts/data_agent/client.py:1466
Method
download_file
Download a file by ID. Args: file_id: The file ID to download. save_path: Path to save the downloaded file.
scripts/data_agent/file_manager.py:246
Method
download_file
Download a file from URL asynchronously. Args: download_url: URL to download from. save_path: Path to save the downlo
scripts/data_agent/file_manager.py:500
Function
file_query_executor
(message_handler, session, args)
scripts/cli/cmd_file.py:125
Method
file_upload_callback
Notify file upload completion asynchronously. Args: file_id: The file ID from upload signature. filename: The origina
scripts/data_agent/client.py:1565
Method
from_dict
Create configuration from a dictionary. Args: config_dict: Dictionary containing configuration values. Returns:
scripts/data_agent/config.py:124
Method
get_chat_content
Get chat content from the Data Agent. Args: agent_id: The agent ID. session_id: The session ID. checkpoin
scripts/data_agent/client.py:865
Method
get_chat_content
Get chat content from the Data Agent asynchronously. Args: agent_id: The agent ID. session_id: The session ID.
scripts/data_agent/client.py:1522
Method
get_file_type
Get the file type from path. Args: file_path: Path to the file. Returns: File type string or None if unsuppo
scripts/data_agent/file_manager.py:307
Method
get_file_upload_signature
Get OSS upload signature asynchronously. Args: filename: Name of the file to upload. file_size: Size of the file in b
scripts/data_agent/client.py:1545
Method
get_full_response
Get complete response asynchronously. Collects all `data` events (excluding tool_call_choices and metric_agent_config), which carry t
scripts/data_agent/sse_client.py:786
Method
get_session
Get session info from cache. Args: session_id: The session ID. Returns: SessionInfo if found, None otherwise
scripts/data_agent/session.py:199
Method
get_session
Get session info from cache. Args: session_id: The session ID. Returns: SessionInfo if found, None otherwise
scripts/data_agent/session.py:405
Method
has_next
Check if there are more pages.
scripts/data_agent/mcp_tools.py:88
Method
list_custom_agents
List custom agents asynchronously. Args: workspace_id: Optional workspace ID to filter agents. search_key: Fuzzy sear
scripts/data_agent/client.py:1658
Method
list_file_tables
List tables inside a DMS Data Center database (legacy file-based). Args: instance_name: The InstanceName returned by list_file_da
scripts/data_agent/client.py:1048
Method
list_files
List files asynchronously. Args: session_id: The session ID. file_category: Optional filter, e.g. "WebReport" for age
scripts/data_agent/client.py:1594
Method
list_instances
Async search for database instances in DMS. Args: search_key: Optional search key. db_type: Optional database
scripts/data_agent/mcp_tools.py:401
Method
list_reports
List agent-generated reports (WebReport) for a session. Args: session_id: The session ID. Returns: List of F
scripts/data_agent/file_manager.py:204
Method
list_sessions
List Data Agent sessions. For API_KEY authentication, uses startTime/endTime parameters. For AK/SK authentication, uses createStartTi
scripts/data_agent/client.py:1202
Method
list_sessions
List all cached sessions. Returns: List of SessionInfo objects.
scripts/data_agent/session.py:238
Method
list_sessions
List all cached sessions. Returns: List of SessionInfo objects.
scripts/data_agent/session.py:444
Method
list_workspaces
List Data Agent workspaces asynchronously. Args: workspace_type: Workspace type filter ("MY" or "ALL"). workspace_nam
scripts/data_agent/client.py:1626
Function
push_notification
Push a notification message to the specified session or active session. Args: session_id: The target session ID (optional). messa
scripts/cli/notify.py:66
Method
refresh_session
Refresh session status from API. Args: session_id: The session ID. Returns: Updated SessionInfo. Ra
scripts/data_agent/session.py:210
Method
refresh_session
Refresh session status from API asynchronously. Args: session_id: The session ID. Returns: Updated SessionIn
scripts/data_agent/session.py:416
Method
remove_session
Remove session from cache. Args: session_id: The session ID to remove.
scripts/data_agent/session.py:230
Method
remove_session
Remove session from cache. Args: session_id: The session ID to remove.
scripts/data_agent/session.py:436
Function
retry_on_error
Decorator to retry API calls on transient errors with exponential backoff.
scripts/data_agent/client.py:83
Function
run_with_dual_logging
Run a subprocess and create both progress.log and progress.jsonl files.
scripts/cli/dual_logger.py:12
Method
send_message
Send a message to the Data Agent asynchronously. Args: agent_id: The agent ID. session_id: The session ID.
scripts/data_agent/client.py:1484
Method
send_query
Send a query and wait for complete response. Args: session: Active session to use. query: Natural language query.
scripts/data_agent/message.py:33
Method
send_query
Send a query and wait for complete response asynchronously. Args: session: Active session to use. query: Natural lang
scripts/data_agent/message.py:286
Method
send_query_with_result
Send a query and get detailed result with content blocks. Args: session: Active session to use. query: Natural langua
scripts/data_agent/message.py:83
Method
send_query_with_result
Send a query and get detailed result asynchronously. Args: session: Active session to use. query: Natural language qu
scripts/data_agent/message.py:331
Method
stream_content
Send query and stream response content blocks. Args: session: Active session to use. query: Natural language query.
scripts/data_agent/message.py:151
Method
stream_content
Send query and stream response content blocks asynchronously. Args: session: Active session to use. query: Natural la
scripts/data_agent/message.py:397
Method
to_dict
Convert configuration to dictionary (excluding secrets). Returns: Dictionary with non-sensitive configuration values.
scripts/data_agent/config.py:150
Method
total_pages
Calculate total number of pages.
scripts/data_agent/mcp_tools.py:81
Method
upload_file
Upload a file for analysis asynchronously. Args: file_path: Path to the local file. timeout: Upload timeout in second
scripts/data_agent/file_manager.py:359
Function
wrapper
(self, *args, **kwargs)
scripts/data_agent/client.py:96
← previous
201–258 of 258, ranked by callers