No more presigned URLs by default (#1034)

This commit is contained in:
Logan
2025-12-02 09:41:49 -06:00
committed by GitHub
parent 7a68b0fb68
commit ca781132c8
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"llama-cloud-services-py": patch
---
Do not use presigned URLs by default in files client
+2 -2
View File
@@ -11,7 +11,7 @@ from llama_cloud_services.utils import SourceText, FileInput
class FileClient:
"""
Higher-level client for interacting with the LlamaCloud Files API.
Uses presigned URLs for uploads by default.
Optionally uses presigned URLs for uploads.
Args:
client: The LlamaCloud client to use.
@@ -25,7 +25,7 @@ class FileClient:
client: AsyncLlamaCloud,
project_id: Optional[str] = None,
organization_id: Optional[str] = None,
use_presigned_url: bool = True,
use_presigned_url: bool = False,
):
self.client = client
self.project_id = project_id