outerbounds 0.3.180rc1__py3-none-any.whl → 0.3.180rc2__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 +12 -10
- {outerbounds-0.3.180rc1.dist-info → outerbounds-0.3.180rc2.dist-info}/METADATA +3 -3
- {outerbounds-0.3.180rc1.dist-info → outerbounds-0.3.180rc2.dist-info}/RECORD +5 -5
- {outerbounds-0.3.180rc1.dist-info → outerbounds-0.3.180rc2.dist-info}/WHEEL +0 -0
- {outerbounds-0.3.180rc1.dist-info → outerbounds-0.3.180rc2.dist-info}/entry_points.txt +0 -0
outerbounds/apps/app_cli.py
CHANGED
@@ -835,8 +835,9 @@ def list(ctx, project, branch, name, tags, format, auth_type):
|
|
835
835
|
type=KVDictType,
|
836
836
|
help="Filter apps to delete by tag. Format KEY=VALUE. Example --tag foo=bar --tag x=y. If multiple tags are provided, the app must match all of them.",
|
837
837
|
)
|
838
|
+
@click.option("--auto-approve", is_flag=True, help="Do not prompt for confirmation")
|
838
839
|
@click.pass_context
|
839
|
-
def delete(ctx, name, cap_id, project, branch, tags):
|
840
|
+
def delete(ctx, name, cap_id, project, branch, tags, auto_approve):
|
840
841
|
|
841
842
|
"""Delete an app/apps from the Outerbounds Platform."""
|
842
843
|
# Atleast one of the args need to be provided
|
@@ -863,15 +864,16 @@ def delete(ctx, name, cap_id, project, branch, tags):
|
|
863
864
|
print_table(table_data, headers)
|
864
865
|
|
865
866
|
# Confirm the deletion
|
866
|
-
|
867
|
-
click.
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
867
|
+
if not auto_approve:
|
868
|
+
confirm = click.prompt(
|
869
|
+
click.style(
|
870
|
+
"💊 Are you sure you want to delete these apps?", fg="red", bold=True
|
871
|
+
),
|
872
|
+
default="no",
|
873
|
+
type=click.Choice(["yes", "no"]),
|
874
|
+
)
|
875
|
+
if confirm == "no":
|
876
|
+
exit(1)
|
875
877
|
|
876
878
|
def item_show_func(x):
|
877
879
|
if not x:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: outerbounds
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.180rc2
|
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.168rc2)
|
33
|
+
Requires-Dist: ob-metaflow-stubs (==6.0.3.180rc2)
|
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"
|
@@ -44,7 +44,7 @@ outerbounds/_vendor/yaml/serializer.py,sha256=8wFZRy9SsQSktF_f9OOroroqsh4qVUe53r
|
|
44
44
|
outerbounds/_vendor/yaml/tokens.py,sha256=JBSu38wihGr4l73JwbfMA7Ks1-X84g8-NskTz7KwPmA,2578
|
45
45
|
outerbounds/apps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
outerbounds/apps/_state_machine.py,sha256=3hQF5O2zJdtQWdy9e5w393O85u6UjGApqTMlRU3UhFk,12964
|
47
|
-
outerbounds/apps/app_cli.py,sha256=
|
47
|
+
outerbounds/apps/app_cli.py,sha256=IK6VhCwvOXIm9TWYiPxxIbARw-4vxR78ZK1u27-zVlg,44735
|
48
48
|
outerbounds/apps/app_config.py,sha256=KBmW9grhiuG9XZG-R0GZkM-024cjj6ztGzOX_2wZW34,11291
|
49
49
|
outerbounds/apps/artifacts.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
50
50
|
outerbounds/apps/capsule.py,sha256=2B_d_zuoQzN4Qs3Tiw_v9EwD7ToQLy8_83rWmVjBz48,30693
|
@@ -76,7 +76,7 @@ outerbounds/utils/metaflowconfig.py,sha256=l2vJbgPkLISU-XPGZFaC8ZKmYFyJemlD6bwB-
|
|
76
76
|
outerbounds/utils/schema.py,sha256=lMUr9kNgn9wy-sO_t_Tlxmbt63yLeN4b0xQXbDUDj4A,2331
|
77
77
|
outerbounds/utils/utils.py,sha256=4Z8cszNob_8kDYCLNTrP-wWads_S_MdL3Uj3ju4mEsk,501
|
78
78
|
outerbounds/vendor.py,sha256=gRLRJNXtZBeUpPEog0LOeIsl6GosaFFbCxUvR4bW6IQ,5093
|
79
|
-
outerbounds-0.3.
|
80
|
-
outerbounds-0.3.
|
81
|
-
outerbounds-0.3.
|
82
|
-
outerbounds-0.3.
|
79
|
+
outerbounds-0.3.180rc2.dist-info/METADATA,sha256=w__jQJnKxKIrW0_wSa_9jpogVOxx08OXKK00XngnYfY,1846
|
80
|
+
outerbounds-0.3.180rc2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
81
|
+
outerbounds-0.3.180rc2.dist-info/entry_points.txt,sha256=AP6rZg7y5SK9e9a9iVq0Fi9Q2KPjPZSwtZ6R98rLw-8,56
|
82
|
+
outerbounds-0.3.180rc2.dist-info/RECORD,,
|
File without changes
|
File without changes
|