ob-metaflow-extensions 1.1.140__py2.py3-none-any.whl → 1.1.142__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.
@@ -81,6 +81,17 @@ class FastBakery:
81
81
 
82
82
  def _reset_payload(self):
83
83
  self._payload = {}
84
+ from metaflow_extensions.outerbounds.remote_config import init_config
85
+ from os import environ
86
+
87
+ conf = init_config()
88
+ if "OBP_PERIMETER" in conf:
89
+ perimeter = conf["OBP_PERIMETER"]
90
+ else:
91
+ # if the perimeter is not in metaflow config, try to get it from the environment
92
+ perimeter = environ.get("OBP_PERIMETER", "")
93
+
94
+ self._payload["perimeterName"] = perimeter
84
95
 
85
96
  def python_version(self, version: str):
86
97
  self._payload["pythonVersion"] = version
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ob-metaflow-extensions
3
- Version: 1.1.140
3
+ Version: 1.1.142
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.15.7.1)
10
+ Requires-Dist: ob-metaflow (==2.15.7.2)
11
11
 
12
12
  # Outerbounds platform package
13
13
 
@@ -15,7 +15,7 @@ metaflow_extensions/outerbounds/plugins/card_utilities/extra_components.py,sha25
15
15
  metaflow_extensions/outerbounds/plugins/card_utilities/injector.py,sha256=UQtHrviFs7Z5LBh0nbaIv8aEnHnyXFjs9TiGCjtcIWc,2452
16
16
  metaflow_extensions/outerbounds/plugins/fast_bakery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  metaflow_extensions/outerbounds/plugins/fast_bakery/docker_environment.py,sha256=Tl520HdBteg-aDOM7mnnJJpdDCZc49BmFFmLUc_vTi8,15018
18
- metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery.py,sha256=cj63FrdioggipQFP8GwgxU3FYe6IyzjGSUGYxLQZ4nQ,5189
18
+ metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery.py,sha256=PE81ZB54OAMXkMGSB7JqgvgMg7N9kvoVclrWL-6jc2U,5626
19
19
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery_cli.py,sha256=kqFyu2bJSnc9_9aYfBpz5xK6L6luWFZK_NMuh8f1eVk,1494
20
20
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery_decorator.py,sha256=MXSIp05-jvt8Q2uGaLKjtuM_ToLeRLxhtMbfHc9Kcko,1515
21
21
  metaflow_extensions/outerbounds/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
@@ -58,7 +58,7 @@ metaflow_extensions/outerbounds/toplevel/plugins/gcp/__init__.py,sha256=BbZiaH3u
58
58
  metaflow_extensions/outerbounds/toplevel/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
59
59
  metaflow_extensions/outerbounds/toplevel/plugins/ollama/__init__.py,sha256=GRSz2zwqkvlmFS6bcfYD_CX6CMko9DHQokMaH1iBshA,47
60
60
  metaflow_extensions/outerbounds/toplevel/plugins/snowflake/__init__.py,sha256=LptpH-ziXHrednMYUjIaosS1SXD3sOtF_9_eRqd8SJw,50
61
- ob_metaflow_extensions-1.1.140.dist-info/METADATA,sha256=UOQ0e9RIYmWFdFwFGBZaO8xgJxYU_l2mZ7G3a6I4L5A,520
62
- ob_metaflow_extensions-1.1.140.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
63
- ob_metaflow_extensions-1.1.140.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
64
- ob_metaflow_extensions-1.1.140.dist-info/RECORD,,
61
+ ob_metaflow_extensions-1.1.142.dist-info/METADATA,sha256=klSMCigviSI6_2w-sVmO4DeK40zLStVUhJwGXIBl1jM,520
62
+ ob_metaflow_extensions-1.1.142.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
63
+ ob_metaflow_extensions-1.1.142.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
64
+ ob_metaflow_extensions-1.1.142.dist-info/RECORD,,