Skip to content

Commit

Permalink
code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Jan 15, 2025
1 parent 9846c19 commit 981feda
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/aws/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def clean_cache():
def get_s3_client():
global s3_client
if s3_client is None:
# print(hilite("S3 CLIENT IS NONE, CREATING IT!"))
access_key = current_app.config["CSV_UPLOAD_BUCKET"]["access_key_id"]
secret_key = current_app.config["CSV_UPLOAD_BUCKET"]["secret_access_key"]
region = current_app.config["CSV_UPLOAD_BUCKET"]["region"]
Expand All @@ -75,8 +74,6 @@ def get_s3_client():
region_name=region,
)
s3_client = session.client("s3")
# else:
# print(hilite("S3 CLIENT ALREADY EXISTS, REUSING IT!"))
return s3_client


Expand Down

0 comments on commit 981feda

Please sign in to comment.