Skip to content

Commit 8b8e432

Browse files
committed
feat(idp): cache temporary aws credentials to reduce calls to AWS API
1 parent 79b40f9 commit 8b8e432

File tree

2 files changed

+355
-291
lines changed

2 files changed

+355
-291
lines changed

redshift_connector/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
ProgrammingError,
2020
Warning,
2121
)
22-
from redshift_connector.iam_helper import set_iam_properties
22+
from redshift_connector.iam_helper import IamHelper
2323
from redshift_connector.objects import (
2424
Binary,
2525
Date,
@@ -120,7 +120,7 @@ def connect(
120120
) -> Connection:
121121

122122
info: RedshiftProperty = RedshiftProperty()
123-
set_iam_properties(
123+
IamHelper.set_iam_properties(
124124
info,
125125
user=user,
126126
host=host,

0 commit comments

Comments
 (0)