From f0ee349055a92286cc84b0b57a61aa65def143be Mon Sep 17 00:00:00 2001 From: "Amir A. Zohrenejad" <46583220+aazo11@users.noreply.github.com> Date: Sat, 8 Jun 2024 10:00:26 -0700 Subject: [PATCH] Fix regression in s3.py (#507) --- services/engine/dataherald/utils/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/engine/dataherald/utils/s3.py b/services/engine/dataherald/utils/s3.py index d0a82b2c..96497d96 100644 --- a/services/engine/dataherald/utils/s3.py +++ b/services/engine/dataherald/utils/s3.py @@ -12,7 +12,7 @@ class S3: def __init__(self): self.settings = Settings() - def _get_client(self, access_key: str | None = None, secret_access_key: str | None = None, region: str | None = None): -> boto3.client: + def _get_client(self, access_key: str | None = None, secret_access_key: str | None = None, region: str | None = None) -> boto3.client: _access_key = access_key or self.settings.s3_aws_access_key_id _secret_access_key = secret_access_key or self.settings.s3_aws_secret_access_key _region = region or self.settings.s3_region