From b31398e49986dfb8179111d7591e25b932558ac6 Mon Sep 17 00:00:00 2001 From: Noah Paige Date: Tue, 12 Dec 2023 10:55:54 -0500 Subject: [PATCH] fix S3DatasetClient upload data --- backend/dataall/modules/datasets/aws/s3_dataset_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/dataall/modules/datasets/aws/s3_dataset_client.py b/backend/dataall/modules/datasets/aws/s3_dataset_client.py index f68fea385..1bca37a05 100644 --- a/backend/dataall/modules/datasets/aws/s3_dataset_client.py +++ b/backend/dataall/modules/datasets/aws/s3_dataset_client.py @@ -22,7 +22,7 @@ def __init__(self, dataset: Dataset): self._dataset = dataset def _get_dataset_role_client(self): - session = SessionHelper.get_session(base_session=self.pivot_role_session, role_arn=self.dataset.IAMDatasetAdminRoleArn) + session = SessionHelper.get_session(base_session=self._pivot_role_session, role_arn=self._dataset.IAMDatasetAdminRoleArn) dataset_client = session.client( 's3', region_name=self._dataset.region,