boto3-refresh-session 0.0.21__tar.gz → 0.0.22__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 0.0.21
3
+ Version: 0.0.22
4
4
  Summary: A simple Python package for refreshing boto3 sessions automatically.
5
5
  Home-page: https://github.com/michaelthomasletts/boto3-refresh-session
6
6
  License: MIT
@@ -74,10 +74,10 @@ credentials. To learn more about how `boto3` searches for credentials on a
74
74
  machine, check [this documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html).
75
75
 
76
76
  ```python
77
- from boto3_refresh_session import AutoRefreshableSession
77
+ import boto3_refresh_session as brs
78
78
 
79
79
 
80
- sess = AutoRefreshableSession(
80
+ sess = brs.AutoRefreshableSession(
81
81
  region="<your-region>",
82
82
  role_arn="<your-role-arn>",
83
83
  session_name="<your-session-name>",
@@ -49,10 +49,10 @@ credentials. To learn more about how `boto3` searches for credentials on a
49
49
  machine, check [this documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html).
50
50
 
51
51
  ```python
52
- from boto3_refresh_session import AutoRefreshableSession
52
+ import boto3_refresh_session as brs
53
53
 
54
54
 
55
- sess = AutoRefreshableSession(
55
+ sess = brs.AutoRefreshableSession(
56
56
  region="<your-region>",
57
57
  role_arn="<your-role-arn>",
58
58
  session_name="<your-session-name>",
@@ -65,7 +65,7 @@ class AutoRefreshableSession:
65
65
  --------
66
66
  Here's how to initialize this object:
67
67
 
68
- >>> sess = AutoRefreshableSession(
68
+ >>> sess = brs.AutoRefreshableSession(
69
69
  >>> region="us-east-1",
70
70
  >>> role_arn="<your-arn>",
71
71
  >>> session_name="test",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boto3-refresh-session"
3
- version = "0.0.21"
3
+ version = "0.0.22"
4
4
  description = "A simple Python package for refreshing boto3 sessions automatically."
5
5
  authors = [
6
6
  {name = "Mike Letts",email = "michaelthomasletts@gmail.com"}