File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def __init__(
9696 self .s3_role = s3_role
9797 self .auth_client_id = auth_client_id
9898 self .auth_client_secret = auth_client_secret
99- self .sts_arn = f"arn:aws:iam::{ aws_account_id } :role/{ s3_role } "
99+ self .sts_arn = f"arn:aws:iam::{ self . aws_account_id } :role/{ self . s3_role } "
100100 self .user = "client_credentials"
101101 self .refresh_token = None
102102 self .jwt = None
@@ -304,10 +304,11 @@ def get_s3_client(
304304 auth_client_id , auth_client_secret , token_url
305305 )
306306
307+ breakpoint ()
307308 #
308309
309310
310- def _client_credentials_flow (client_id , client_secret , token_url ):
311+ def _client_credentials_flow (client_id , client_secret , token_url ) -> oauthlib . oauth2 . rfc6749 . tokens . OAuth2Token :
311312 client = BackendApplicationClient (client_id = client_id )
312313 oauth = OAuth2Session (client = client )
313314 try :
You can’t perform that action at this time.
0 commit comments