boto3-refresh-session 1.3.15__py3-none-any.whl → 1.3.16__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,7 +4,7 @@ from .session import RefreshableSession
4
4
  from .sts import STSRefreshableSession
5
5
 
6
6
  __all__ = ["RefreshableSession"]
7
- __version__ = "1.3.15"
7
+ __version__ = "1.3.16"
8
8
  __title__ = "boto3-refresh-session"
9
9
  __author__ = "Mike Letts"
10
10
  __maintainer__ = "Mike Letts"
@@ -96,14 +96,12 @@ class CustomRefreshableSession(BaseRefreshableSession, method="custom"):
96
96
  return credentials
97
97
 
98
98
  def get_identity(self) -> dict[str, str]:
99
- """
100
- Returns metadata about the custom credential getter.
99
+ """Returns metadata about the custom credential getter.
101
100
 
102
101
  Returns
103
102
  -------
104
103
  dict[str, str]
105
104
  Dict containing information about the custom credential getter.
106
-
107
105
  """
108
106
 
109
107
  source = getattr(
@@ -19,8 +19,7 @@ RefreshMethod = Literal["sts-assume-role", "ecs-container-metadata", "custom"]
19
19
 
20
20
 
21
21
  class BaseRefreshableSession(ABC, Session):
22
- """
23
- Abstract base class for implementing refreshable AWS sessions.
22
+ """Abstract base class for implementing refreshable AWS sessions.
24
23
 
25
24
  Provides a common interface and factory registration mechanism
26
25
  for subclasses that generate temporary credentials using various
@@ -34,7 +33,6 @@ class BaseRefreshableSession(ABC, Session):
34
33
  ----------
35
34
  registry : dict[str, type[BaseRefreshableSession]]
36
35
  Class-level registry mapping method names to registered session types.
37
-
38
36
  """
39
37
 
40
38
  # adding this and __init_subclass__ to avoid circular imports
@@ -80,8 +78,7 @@ class BaseRefreshableSession(ABC, Session):
80
78
  )
81
79
 
82
80
  def refreshable_credentials(self) -> dict[str, str]:
83
- """
84
- The current temporary AWS security credentials.
81
+ """The current temporary AWS security credentials.
85
82
 
86
83
  Returns
87
84
  -------
@@ -93,7 +90,6 @@ class BaseRefreshableSession(ABC, Session):
93
90
  AWS secret access key.
94
91
  AWS_SESSION_TOKEN : str
95
92
  AWS session token.
96
-
97
93
  """
98
94
 
99
95
  creds = self.get_credentials().get_frozen_credentials()
@@ -140,7 +136,6 @@ class RefreshableSession:
140
136
  boto3_refresh_session.custom.CustomRefreshableSession
141
137
  boto3_refresh_session.sts.STSRefreshableSession
142
138
  boto3_refresh_session.ecs.ECSRefreshableSession
143
-
144
139
  """
145
140
 
146
141
  def __new__(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 1.3.15
3
+ Version: 1.3.16
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,sts,ecs,credentials,token,refresh
@@ -0,0 +1,11 @@
1
+ boto3_refresh_session/__init__.py,sha256=zb1pSAs5tu6DDGFJibXDoMxTB0wxFynt2USx0PWKziw,364
2
+ boto3_refresh_session/custom.py,sha256=xW_OiAO1D6-uPj-JWMjXmgNy1BpQxvF7nWavrGZtrqA,3795
3
+ boto3_refresh_session/ecs.py,sha256=2lLMDWEE_JArBf0sRtcFmrzxiIpo_S6dauHS-TDUn4U,3713
4
+ boto3_refresh_session/exceptions.py,sha256=qcFzdIuK5PZirs77H_Kb64S9QFb6cn2OJtirjvaRLiY,972
5
+ boto3_refresh_session/session.py,sha256=wtaLKf2DOnUpt9wJLP_9j2zJEhhFRcUMBNvKBzWY7-Q,5351
6
+ boto3_refresh_session/sts.py,sha256=gJKbslmNl8kR8oAeZfOGmrHtgUUxMm7e9hPgZO678FE,3174
7
+ boto3_refresh_session-1.3.16.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
8
+ boto3_refresh_session-1.3.16.dist-info/METADATA,sha256=yoKsAPM28pzClq58vh67pLCVhx_D_ewUHwcj9I9w9WE,7804
9
+ boto3_refresh_session-1.3.16.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
10
+ boto3_refresh_session-1.3.16.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
11
+ boto3_refresh_session-1.3.16.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- boto3_refresh_session/__init__.py,sha256=_4VLYpIvCjuw0X_PUpBwM5vDKWGPpsouzlNkzm0wJKE,364
2
- boto3_refresh_session/custom.py,sha256=YuorVYEzoYxLkzuoMwSqqAmN0n7ZsXKkS2Q8soAyGkc,3805
3
- boto3_refresh_session/ecs.py,sha256=2lLMDWEE_JArBf0sRtcFmrzxiIpo_S6dauHS-TDUn4U,3713
4
- boto3_refresh_session/exceptions.py,sha256=qcFzdIuK5PZirs77H_Kb64S9QFb6cn2OJtirjvaRLiY,972
5
- boto3_refresh_session/session.py,sha256=mxATkH7rDTCiPtEbqxIkhnl_i7xwHJ0wzTH8Zv-xaL8,5368
6
- boto3_refresh_session/sts.py,sha256=gJKbslmNl8kR8oAeZfOGmrHtgUUxMm7e9hPgZO678FE,3174
7
- boto3_refresh_session-1.3.15.dist-info/LICENSE,sha256=I3ZYTXAjbIly6bm6J-TvFTuuHwTKws4h89QaY5c5HiY,1067
8
- boto3_refresh_session-1.3.15.dist-info/METADATA,sha256=s6KkLftJRR6xtmntJt8M2Y_QFVZWOdKdrT3BN9BBHhg,7804
9
- boto3_refresh_session-1.3.15.dist-info/NOTICE,sha256=1s8r33qbl1z0YvPB942iWgvbkP94P_e8AnROr1qXXuw,939
10
- boto3_refresh_session-1.3.15.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
11
- boto3_refresh_session-1.3.15.dist-info/RECORD,,