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.
@@ -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
- confirm = click.prompt(
867
- click.style(
868
- "💊 Are you sure you want to delete these apps?", fg="red", bold=True
869
- ),
870
- default="no",
871
- type=click.Choice(["yes", "no"]),
872
- )
873
- if confirm == "no":
874
- exit(1)
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.180rc1
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.168rc1)
33
- Requires-Dist: ob-metaflow-stubs (==6.0.3.180rc1)
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=g31LwOyOkLdom68VWFgPrkpTTawlu6YC3o1UIje9jyc,44575
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.180rc1.dist-info/METADATA,sha256=VlknGgkogedksZFx5dhw9L_Vize8YjASxEKLeY33jEU,1846
80
- outerbounds-0.3.180rc1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
81
- outerbounds-0.3.180rc1.dist-info/entry_points.txt,sha256=AP6rZg7y5SK9e9a9iVq0Fi9Q2KPjPZSwtZ6R98rLw-8,56
82
- outerbounds-0.3.180rc1.dist-info/RECORD,,
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,,