add credential id

This commit is contained in:
jyong
2025-08-11 18:26:41 +08:00
parent ada0875ac4
commit 087a4fbd14
2 changed files with 2 additions and 2 deletions

View File

@ -359,5 +359,5 @@ class OnlineDriveDownloadFileRequest(BaseModel):
Get online driver file Get online driver file
""" """
key: str = Field(..., description="The name of the file") id: str = Field(..., description="The id of the file")
bucket: Optional[str] = Field(None, description="The name of the bucket") bucket: Optional[str] = Field(None, description="The name of the bucket")

View File

@ -165,7 +165,7 @@ class DatasourceNode(BaseNode):
datasource_runtime.online_drive_download_file( datasource_runtime.online_drive_download_file(
user_id=self.user_id, user_id=self.user_id,
request=OnlineDriveDownloadFileRequest( request=OnlineDriveDownloadFileRequest(
key=datasource_info.get("key"), id=datasource_info.get("id"),
bucket=datasource_info.get("bucket"), bucket=datasource_info.get("bucket"),
), ),
provider_type=datasource_type, provider_type=datasource_type,