boto3-refresh-session 1.0.23__py3-none-any.whl → 1.0.25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- boto3_refresh_session/__init__.py +1 -1
- boto3_refresh_session/session.py +5 -1
- {boto3_refresh_session-1.0.23.dist-info → boto3_refresh_session-1.0.25.dist-info}/METADATA +1 -1
- boto3_refresh_session-1.0.25.dist-info/RECORD +7 -0
- boto3_refresh_session-1.0.23.dist-info/RECORD +0 -7
- {boto3_refresh_session-1.0.23.dist-info → boto3_refresh_session-1.0.25.dist-info}/LICENSE +0 -0
- {boto3_refresh_session-1.0.23.dist-info → boto3_refresh_session-1.0.25.dist-info}/NOTICE +0 -0
- {boto3_refresh_session-1.0.23.dist-info → boto3_refresh_session-1.0.25.dist-info}/WHEEL +0 -0
boto3_refresh_session/session.py
CHANGED
@@ -98,13 +98,17 @@ class RefreshableSession(Session):
|
|
98
98
|
def __init__(
|
99
99
|
self,
|
100
100
|
assume_role_kwargs: Dict[Any],
|
101
|
-
defer_refresh: bool =
|
101
|
+
defer_refresh: bool = None,
|
102
102
|
sts_client_kwargs: Dict[Any] = None,
|
103
103
|
**kwargs,
|
104
104
|
):
|
105
105
|
# inheriting from boto3.session.Session
|
106
106
|
super().__init__(**kwargs)
|
107
107
|
|
108
|
+
# setting defer_refresh default
|
109
|
+
if defer_refresh is None:
|
110
|
+
defer_refresh = True
|
111
|
+
|
108
112
|
# initializing custom parameters that are necessary outside of __init__
|
109
113
|
self.assume_role_kwargs = assume_role_kwargs
|
110
114
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
boto3_refresh_session/__init__.py,sha256=xg4b6N8LM2fsL1cTRhgA_lRNpbzewQDernIHVpTryuY,158
|
2
|
+
boto3_refresh_session/session.py,sha256=PyF7HD_K5-X8e2FR-CO-3rVRHpoe7tP5uF_vdia5Kt8,5883
|
3
|
+
boto3_refresh_session-1.0.25.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
+
boto3_refresh_session-1.0.25.dist-info/METADATA,sha256=MVUlKq3KmkLL6V43AOXg-kRHI6jCP50uwx6RNLHWcW4,5229
|
5
|
+
boto3_refresh_session-1.0.25.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
6
|
+
boto3_refresh_session-1.0.25.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
+
boto3_refresh_session-1.0.25.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
boto3_refresh_session/__init__.py,sha256=JFHb0poY5YQZ_yQCtSIgzpdudMcQtbidZBWt75GiuP4,158
|
2
|
-
boto3_refresh_session/session.py,sha256=p4adQ4G2rVm8PPT8xOVV8oMPLS-2h6pSgZNeFd1E1uI,5775
|
3
|
-
boto3_refresh_session-1.0.23.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
-
boto3_refresh_session-1.0.23.dist-info/METADATA,sha256=hIyosRa3Ge8cYy4lIBcO-UNKlWUlfNT97UQnywgdrXk,5229
|
5
|
-
boto3_refresh_session-1.0.23.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
|
6
|
-
boto3_refresh_session-1.0.23.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
-
boto3_refresh_session-1.0.23.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|