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

Commit

Permalink
change basepath to bucket_folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingrismore committed Mar 17, 2024
1 parent aa5311e commit 91a7520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prefect_aws/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ async def read_path(self, path: str) -> bytes:
s3_bucket_block = S3Bucket(
bucket_name="bucket",
credentials=aws_creds,
basepath="subfolder"
bucket_folder="subfolder"
)
key_contents = s3_bucket_block.read_path(path="subfolder/file1")
Expand Down Expand Up @@ -645,7 +645,7 @@ async def write_path(self, path: str, content: bytes) -> str:
s3_bucket_block = S3Bucket(
bucket_name="bucket",
minio_credentials=minio_creds,
basepath="dogs/smalldogs",
bucket_folder="dogs/smalldogs",
endpoint_url="http://localhost:9000",
)
s3_havanese_path = s3_bucket_block.write_path(path="havanese", content=data)
Expand Down

0 comments on commit 91a7520

Please sign in to comment.