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

Commit

Permalink
Merge branch 'main' into discdiver-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle authored Mar 22, 2024
2 parents 8cb4c45 + 75d914c commit 3fb6d3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prefect_aws/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,8 @@ async def read_path(self, path: str) -> bytes:
s3_bucket_block = S3Bucket(
bucket_name="bucket",
aws_credentials=aws_creds,
basepath="subfolder"
credentials=aws_creds,
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 3fb6d3f

Please sign in to comment.