ob-metaflow-extensions 1.1.17rc2__py2.py3-none-any.whl → 1.1.18__py2.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.

Potentially problematic release.


This version of ob-metaflow-extensions might be problematic. Click here for more details.

@@ -61,6 +61,13 @@ class ObpAuthProvider(object):
61
61
  os.environ["AWS_WEB_IDENTITY_TOKEN_FILE"] = token_file
62
62
  os.environ["AWS_ROLE_ARN"] = token_info["role_arn"]
63
63
 
64
+ # Enable regional STS endpoints. This is the new recommended way
65
+ # by AWS [1] and is the more performant way.
66
+ # [1] https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html
67
+ os.environ["AWS_STS_REGIONAL_ENDPOINTS"] = "regional"
68
+ if token_info.get("region"):
69
+ os.environ["AWS_DEFAULT_REGION"] = token_info.get["region"]
70
+
64
71
  with hide_access_keys():
65
72
  if role_arn:
66
73
  session = boto3.session.Session()
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ob-metaflow-extensions
3
- Version: 1.1.17rc2
3
+ Version: 1.1.18
4
4
  Summary: Outerbounds Platform Extensions for Metaflow
5
5
  Author: Outerbounds, Inc.
6
6
  License: Commercial
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: boto3
9
9
  Requires-Dist: kubernetes
10
- Requires-Dist: ob-metaflow (==2.8.1.1rc2)
10
+ Requires-Dist: ob-metaflow (==2.8.4.1)
11
11
 
12
12
  # Outerbounds platform package
13
13
 
@@ -1,13 +1,13 @@
1
1
  metaflow_extensions/outerbounds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  metaflow_extensions/outerbounds/config/__init__.py,sha256=r1XbXkndsPZqsTSHjfPm40ayk8PkClTmFpbI7-9XZxM,36
3
- metaflow_extensions/outerbounds/plugins/__init__.py,sha256=C3Dsavn-7iFPOML6BJLTMfYkAGTkZD2bR-QdHrCGYBw,3368
3
+ metaflow_extensions/outerbounds/plugins/__init__.py,sha256=27AgmLyfzz8gv0TXvQ8sboBoaBNDU_WLqhi7Dt7Fsv4,3768
4
4
  metaflow_extensions/outerbounds/plugins/auth_server.py,sha256=pWyxslsgLT59bfm1pRHhhdkkQNjcIfgO4f-_inTbS9g,1753
5
5
  metaflow_extensions/outerbounds/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
6
6
  metaflow_extensions/outerbounds/plugins/kubernetes/kubernetes_client.py,sha256=k5HP9JJIcZhCDUKrR9u--B_wbwL3RTPCJWhgEWgh7k0,1806
7
7
  metaflow_extensions/outerbounds/toplevel/__init__.py,sha256=qWUJSv_r5hXJ7jV_On4nEasKIfUCm6_UjkjXWA_A1Ts,90
8
8
  metaflow_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.py,sha256=-MTJQ0mJ3zDYujkmCHB3Zm4Xgmk1Esnb0_bNgpLN03s,387
9
9
  metaflow_extensions/outerbounds/toplevel/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
10
- ob_metaflow_extensions-1.1.17rc2.dist-info/METADATA,sha256=IBbL1WVZ0XCJrORoKWizYhcixTiIaUKY-nh-ILzk-co,524
11
- ob_metaflow_extensions-1.1.17rc2.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
12
- ob_metaflow_extensions-1.1.17rc2.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
13
- ob_metaflow_extensions-1.1.17rc2.dist-info/RECORD,,
10
+ ob_metaflow_extensions-1.1.18.dist-info/METADATA,sha256=X_17TiKWvJEDS9BqgIDqplK7eTEjLWPqF0a0hmfsf9Y,518
11
+ ob_metaflow_extensions-1.1.18.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
12
+ ob_metaflow_extensions-1.1.18.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
13
+ ob_metaflow_extensions-1.1.18.dist-info/RECORD,,