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.
@@ -4,5 +4,5 @@ from . import session
4
4
  from .session import RefreshableSession
5
5
 
6
6
  __all__.extend(session.__all__)
7
- __version__ = "1.0.23"
7
+ __version__ = "1.0.25"
8
8
  __author__ = "Mike Letts"
@@ -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 = True,
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 1.0.23
3
+ Version: 1.0.25
4
4
  Summary: A simple Python package for refreshing the temporary security credentials in a boto3.session.Session object automatically.
5
5
  License: MIT
6
6
  Keywords: boto3,botocore,aws
@@ -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,,