From a36b25336e4a3913b3ec6fce66c27d1fc7cf185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Crdeshmukh15=E2=80=9D?= <“rutuja.deshmukh@qlik.com”> Date: Thu, 24 Oct 2024 15:18:18 +0000 Subject: [PATCH] removes AssumeRoleProvider function --- tap_s3_csv/s3.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tap_s3_csv/s3.py b/tap_s3_csv/s3.py index f9dbaad..825e35f 100644 --- a/tap_s3_csv/s3.py +++ b/tap_s3_csv/s3.py @@ -75,18 +75,6 @@ def log_backoff_attempt(details): # tap is yielding data from that function so backoff is not working over tap function(list_files_in_bucket()). PageIterator._make_request = retry_pattern(PageIterator._make_request) -class AssumeRoleProvider(): - METHOD = 'assume-role' - - def __init__(self, fetcher): - self._fetcher = fetcher - - def load(self): - return DeferredRefreshableCredentials( - self._fetcher.fetch_credentials, - self.METHOD - ) - class AssumeRoleCredentialFetcher: def __init__(self, sts_client, current_credentials, role_arn, extra_args, cache): self.sts_client = sts_client