mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
add credential id
This commit is contained in:
@ -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")
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user