mirror of
https://github.com/langgenius/dify.git
synced 2026-02-23 03:17:57 +08:00
add credential id
This commit is contained in:
@ -359,5 +359,5 @@ class OnlineDriveDownloadFileRequest(BaseModel):
|
||||
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")
|
||||
|
||||
@ -165,7 +165,7 @@ class DatasourceNode(BaseNode):
|
||||
datasource_runtime.online_drive_download_file(
|
||||
user_id=self.user_id,
|
||||
request=OnlineDriveDownloadFileRequest(
|
||||
key=datasource_info.get("key"),
|
||||
id=datasource_info.get("id"),
|
||||
bucket=datasource_info.get("bucket"),
|
||||
),
|
||||
provider_type=datasource_type,
|
||||
|
||||
Reference in New Issue
Block a user