Skip to content

Commit

Permalink
removes AssumeRoleProvider function
Browse files Browse the repository at this point in the history
  • Loading branch information
“rdeshmukh15” committed Oct 24, 2024
1 parent 764a22e commit a36b253
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tap_s3_csv/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a36b253

Please sign in to comment.