Feat/add-remote-file-upload-api (#9906)

This commit is contained in:
-LAN- 2024-11-01 15:51:22 +08:00 • committed by GitHub
commit 9ac2bb30f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
72 changed files with 788 additions and 272 deletions

View file

@ -160,7 +160,7 @@ def _build_from_local_file(
tenant_id=tenant_id,
type=file_type,
transfer_method=transfer_method,
remote_url=None,
remote_url=row.source_url,
related_id=mapping.get("upload_file_id"),
_extra_config=config,
size=row.size,