Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 24, 2024
1 parent 3358ec2 commit 76a4d31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/app/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ def get_presigned_url(bucket_name: str, object_name: str, expires: int = 2):
str: The presigned URL to access the object.
"""
client = s3_client()
return client.presigned_get_object(bucket_name, object_name, expires=timedelta(hours=expires))
return client.presigned_get_object(
bucket_name, object_name, expires=timedelta(hours=expires)
)


def get_object_metadata(bucket_name: str, object_name: str):
Expand Down

0 comments on commit 76a4d31

Please sign in to comment.