outerbounds 0.3.179rc0__py3-none-any.whl → 0.3.179rc2__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.
- outerbounds/apps/app_cli.py +18 -2
- outerbounds/apps/config_schema.yaml +4 -4
- {outerbounds-0.3.179rc0.dist-info → outerbounds-0.3.179rc2.dist-info}/METADATA +3 -3
- {outerbounds-0.3.179rc0.dist-info → outerbounds-0.3.179rc2.dist-info}/RECORD +6 -6
- {outerbounds-0.3.179rc0.dist-info → outerbounds-0.3.179rc2.dist-info}/WHEEL +0 -0
- {outerbounds-0.3.179rc0.dist-info → outerbounds-0.3.179rc2.dist-info}/entry_points.txt +0 -0
outerbounds/apps/app_cli.py
CHANGED
@@ -140,9 +140,25 @@ def app(ctx):
|
|
140
140
|
api_url = metaflowconfig.get_sanitized_url_from_config(
|
141
141
|
config_dir, profile, "OBP_API_SERVER"
|
142
142
|
)
|
143
|
-
|
144
143
|
ctx.obj.api_url = api_url
|
145
|
-
|
144
|
+
if os.environ.get("OB_CURRENT_PERIMETER") or os.environ.get("OBP_PERIMETER"):
|
145
|
+
ctx.obj.perimeter = os.environ.get("OB_CURRENT_PERIMETER") or os.environ.get(
|
146
|
+
"OBP_PERIMETER"
|
147
|
+
)
|
148
|
+
else:
|
149
|
+
ob_config_file_path = metaflowconfig.get_ob_config_file_path(
|
150
|
+
config_dir, profile
|
151
|
+
)
|
152
|
+
if os.path.exists(ob_config_file_path):
|
153
|
+
with open(ob_config_file_path, "r") as f:
|
154
|
+
ob_config = json.load(f)
|
155
|
+
ctx.obj.perimeter = ob_config.get("OB_CURRENT_PERIMETER")
|
156
|
+
else:
|
157
|
+
raise AppConfigError(
|
158
|
+
"OB_CURRENT_PERIMETER or OBP_PERIMETER is not set and no ob_config.json file found in %s for Profile %s"
|
159
|
+
% (config_dir, profile)
|
160
|
+
)
|
161
|
+
|
146
162
|
os.makedirs(ctx.obj.app_state_dir, exist_ok=True)
|
147
163
|
|
148
164
|
|
@@ -225,18 +225,18 @@ properties:
|
|
225
225
|
type: string
|
226
226
|
description: The project name to deploy the app to.
|
227
227
|
experimental: true
|
228
|
-
|
228
|
+
allow_union: true
|
229
229
|
branch:
|
230
230
|
type: string
|
231
231
|
description: The branch name to deploy the app to.
|
232
232
|
experimental: true
|
233
|
-
|
233
|
+
allow_union: true
|
234
234
|
|
235
235
|
models: #
|
236
236
|
type: array
|
237
237
|
description: model asset ids to include with the deployment. NO CLI Option for this Now.
|
238
238
|
experimental: true
|
239
|
-
|
239
|
+
allow_union: true
|
240
240
|
items:
|
241
241
|
type: object
|
242
242
|
properties:
|
@@ -248,7 +248,7 @@ properties:
|
|
248
248
|
type: array
|
249
249
|
description: data asset ids to include with the deployment.
|
250
250
|
experimental: true
|
251
|
-
|
251
|
+
allow_union: true
|
252
252
|
items:
|
253
253
|
type: object
|
254
254
|
properties:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: outerbounds
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.179rc2
|
4
4
|
Summary: More Data Science, Less Administration
|
5
5
|
License: Proprietary
|
6
6
|
Keywords: data science,machine learning,MLOps
|
@@ -29,8 +29,8 @@ Requires-Dist: google-cloud-secret-manager (>=2.20.0,<3.0.0) ; extra == "gcp"
|
|
29
29
|
Requires-Dist: google-cloud-storage (>=2.14.0,<3.0.0) ; extra == "gcp"
|
30
30
|
Requires-Dist: metaflow-checkpoint (==0.2.1)
|
31
31
|
Requires-Dist: ob-metaflow (==2.15.17.1)
|
32
|
-
Requires-Dist: ob-metaflow-extensions (==1.1.
|
33
|
-
Requires-Dist: ob-metaflow-stubs (==6.0.3.
|
32
|
+
Requires-Dist: ob-metaflow-extensions (==1.1.166rc3)
|
33
|
+
Requires-Dist: ob-metaflow-stubs (==6.0.3.179rc2)
|
34
34
|
Requires-Dist: opentelemetry-distro (>=0.41b0) ; extra == "otel"
|
35
35
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.20.0) ; extra == "otel"
|
36
36
|
Requires-Dist: opentelemetry-instrumentation-requests (>=0.41b0) ; extra == "otel"
|
@@ -40,7 +40,7 @@ outerbounds/_vendor/yaml/scanner.py,sha256=ZcI8IngR56PaQ0m27WU2vxCqmDCuRjz-hr7pi
|
|
40
40
|
outerbounds/_vendor/yaml/serializer.py,sha256=8wFZRy9SsQSktF_f9OOroroqsh4qVUe53ry07P9UgCc,4368
|
41
41
|
outerbounds/_vendor/yaml/tokens.py,sha256=JBSu38wihGr4l73JwbfMA7Ks1-X84g8-NskTz7KwPmA,2578
|
42
42
|
outerbounds/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
43
|
-
outerbounds/apps/app_cli.py,sha256=
|
43
|
+
outerbounds/apps/app_cli.py,sha256=72kaMOVjpAW2NInnZKrW6Y-5cBg4APztQKI3wXR313w,25003
|
44
44
|
outerbounds/apps/app_config.py,sha256=KBmW9grhiuG9XZG-R0GZkM-024cjj6ztGzOX_2wZW34,11291
|
45
45
|
outerbounds/apps/artifacts.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
outerbounds/apps/capsule.py,sha256=5lx2M8z8hYNf4_5sX1jk61alrqpEDM8aC0ZVUXu69wI,18883
|
@@ -48,7 +48,7 @@ outerbounds/apps/cli_to_config.py,sha256=hV6rfPgCiAX03O363GkvdjSIJBt3-oSbL6F2sTU
|
|
48
48
|
outerbounds/apps/code_package/__init__.py,sha256=8McF7pgx8ghvjRnazp2Qktlxi9yYwNiwESSQrk-2oW8,68
|
49
49
|
outerbounds/apps/code_package/code_packager.py,sha256=RWvM5BKjgLhu7icsO_n5SSYC57dwyST0dWpoWF88ovU,22881
|
50
50
|
outerbounds/apps/code_package/examples.py,sha256=aF8qKIJxCVv_ugcShQjqUsXKKKMsm1oMkQIl8w3QKuw,4016
|
51
|
-
outerbounds/apps/config_schema.yaml,sha256=
|
51
|
+
outerbounds/apps/config_schema.yaml,sha256=27uanKvGQkhOj8jsGRKkenxuYpMLAFnlx486ryQMsUI,8629
|
52
52
|
outerbounds/apps/dependencies.py,sha256=SqvdFQdFZZW0wXX_CHMHCrfE0TwaRkTvGCRbQ2Mx3q0,3935
|
53
53
|
outerbounds/apps/deployer.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
54
|
outerbounds/apps/experimental/__init__.py,sha256=ExPFIJSF8FcE1pKVyiNQnX8aBi3Rz8YFQ2_s5NVeU7I,3056
|
@@ -72,7 +72,7 @@ outerbounds/utils/metaflowconfig.py,sha256=l2vJbgPkLISU-XPGZFaC8ZKmYFyJemlD6bwB-
|
|
72
72
|
outerbounds/utils/schema.py,sha256=lMUr9kNgn9wy-sO_t_Tlxmbt63yLeN4b0xQXbDUDj4A,2331
|
73
73
|
outerbounds/utils/utils.py,sha256=4Z8cszNob_8kDYCLNTrP-wWads_S_MdL3Uj3ju4mEsk,501
|
74
74
|
outerbounds/vendor.py,sha256=gRLRJNXtZBeUpPEog0LOeIsl6GosaFFbCxUvR4bW6IQ,5093
|
75
|
-
outerbounds-0.3.
|
76
|
-
outerbounds-0.3.
|
77
|
-
outerbounds-0.3.
|
78
|
-
outerbounds-0.3.
|
75
|
+
outerbounds-0.3.179rc2.dist-info/METADATA,sha256=9BC7CPoQHIZ-ztGdSBH23KEI9ierLqI3FPwAhEy6C14,1846
|
76
|
+
outerbounds-0.3.179rc2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
77
|
+
outerbounds-0.3.179rc2.dist-info/entry_points.txt,sha256=AP6rZg7y5SK9e9a9iVq0Fi9Q2KPjPZSwtZ6R98rLw-8,56
|
78
|
+
outerbounds-0.3.179rc2.dist-info/RECORD,,
|
File without changes
|
File without changes
|