boto3-refresh-session 0.1.18__py3-none-any.whl → 0.1.19__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- boto3_refresh_session/session.py +4 -5
- {boto3_refresh_session-0.1.18.dist-info → boto3_refresh_session-0.1.19.dist-info}/METADATA +1 -1
- boto3_refresh_session-0.1.19.dist-info/RECORD +6 -0
- boto3_refresh_session-0.1.18.dist-info/RECORD +0 -6
- {boto3_refresh_session-0.1.18.dist-info → boto3_refresh_session-0.1.19.dist-info}/LICENSE +0 -0
- {boto3_refresh_session-0.1.18.dist-info → boto3_refresh_session-0.1.19.dist-info}/WHEEL +0 -0
boto3_refresh_session/session.py
CHANGED
@@ -137,11 +137,10 @@ class AutoRefreshableSession:
|
|
137
137
|
"""
|
138
138
|
|
139
139
|
# being careful not to duplicate logs
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
logger.info(msg)
|
140
|
+
if (self.defer_refresh and self._creds_already_fetched) or (
|
141
|
+
not self.defer_refresh and self._creds_already_fetched > 1
|
142
|
+
):
|
143
|
+
logger.info("Refreshing temporary AWS credentials")
|
145
144
|
else:
|
146
145
|
self._creds_already_fetched += 1
|
147
146
|
|
@@ -0,0 +1,6 @@
|
|
1
|
+
boto3_refresh_session/__init__.py,sha256=OMY8el4qROyEvo0vr1Kv8rtFU7g3xnjHuBss54XRTEA,135
|
2
|
+
boto3_refresh_session/session.py,sha256=wxh9ZXgjrXv6ouN2vpa9ow0KrQG8-O_Jc8_6w2Fa8oo,5537
|
3
|
+
boto3_refresh_session-0.1.19.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
+
boto3_refresh_session-0.1.19.dist-info/METADATA,sha256=kt5tDN6mR3zr_lwhCkTlOXg-zxtdX5oUJvh3vyWBz_k,4463
|
5
|
+
boto3_refresh_session-0.1.19.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
6
|
+
boto3_refresh_session-0.1.19.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
boto3_refresh_session/__init__.py,sha256=OMY8el4qROyEvo0vr1Kv8rtFU7g3xnjHuBss54XRTEA,135
|
2
|
-
boto3_refresh_session/session.py,sha256=NIQLVWoXvQQIyfBBi_MHE351RIZdGUoSO3xHK1V01Rw,5569
|
3
|
-
boto3_refresh_session-0.1.18.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
|
4
|
-
boto3_refresh_session-0.1.18.dist-info/METADATA,sha256=_91E3MIBGwiklTHQKpKKoVrSE0lLq0JNhRJIytuB7vc,4463
|
5
|
-
boto3_refresh_session-0.1.18.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
6
|
-
boto3_refresh_session-0.1.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|