From 47d814d059c717c523950fc2ac136f6bd2023cfc Mon Sep 17 00:00:00 2001 From: Pere Miquel Brull Date: Sat, 28 Jan 2023 18:39:59 +0100 Subject: [PATCH] Fix typo (#9969) --- ingestion/src/metadata/utils/s3_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/src/metadata/utils/s3_utils.py b/ingestion/src/metadata/utils/s3_utils.py index 9d961f23589..7a9f61058aa 100644 --- a/ingestion/src/metadata/utils/s3_utils.py +++ b/ingestion/src/metadata/utils/s3_utils.py @@ -91,7 +91,7 @@ def read_parquet_from_s3(client: Any, key: str, bucket_name: str): Read the parquet file from the s3 bucket and return a dataframe """ s3_fs = s3fs.S3FileSystem() - if client.awsAccessKeyId and client.awsSecretAccessKeyx: + if client.awsAccessKeyId and client.awsSecretAccessKey: s3_fs = s3fs.S3FileSystem( key=client.awsAccessKeyId, secret=client.awsSecretAccessKey.get_secret_value(),