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

Method upload_file

scripts/data_agent/file_manager.py:359–475  ·  view source on GitHub ↗

Upload a file for analysis asynchronously. Args: file_path: Path to the local file. timeout: Upload timeout in seconds. Returns: FileInfo with file_id and metadata. Raises: FileUploadError: If upload fails.

(
        self,
        file_path: str,
        timeout: int = 60,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

FileUploadErrorClass · 0.90
FileInfoClass · 0.90
file_upload_callbackMethod · 0.45

Tested by

no test coverage detected