mirror of https://github.com/langgenius/dify.git
add credential id
This commit is contained in:
parent
ada0875ac4
commit
087a4fbd14
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue