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,