Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix stream source path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarro committed Jun 26, 2023
1 parent f287c23 commit fc3c252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prefect_aws/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ async def stream_from(
to_path = Path(from_path).name

# Get the source object's StreamingBody
from_path: str = self._join_bucket_folder(from_path)
from_path: str = bucket._join_bucket_folder(from_path)
from_client = bucket.credentials.get_s3_client()
obj = await run_sync_in_worker_thread(
from_client.get_object, Bucket=bucket.bucket_name, Key=from_path
Expand Down

0 comments on commit fc3c252

Please sign in to comment.