code review feedback

This commit is contained in:
Kenneth Kehl
2025-01-15 07:42:59 -08:00
parent 9846c19681
commit 981fedaa01

View File

@@ -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"]
@@ -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