ob-metaflow-extensions 1.1.94__py2.py3-none-any.whl → 1.1.95__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.

@@ -134,6 +134,7 @@ class KubernetesClient(object):
134
134
  job_name = pod.metadata.labels.get("job-name", None)
135
135
  if job_name is None:
136
136
  raise Exception("Could not determine job name")
137
+
137
138
  job_api.patch_namespaced_job(
138
139
  name=job_name,
139
140
  namespace=pod.metadata.namespace,
@@ -144,7 +145,10 @@ class KubernetesClient(object):
144
145
  echo("failed to kill pod %s - %s" % (pod.metadata.name, str(e)))
145
146
 
146
147
  with ThreadPoolExecutor() as executor:
147
- executor.map(_kill_pod, list(pods))
148
+ operated_pods = list(executor.map(_kill_pod, pods))
149
+
150
+ if not operated_pods:
151
+ echo("No active Kubernetes pods found for run *%s*" % run_id)
148
152
 
149
153
  def job(self, **kwargs):
150
154
  from metaflow.plugins.kubernetes.kubernetes_job import KubernetesJob
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ob-metaflow-extensions
3
- Version: 1.1.94
3
+ Version: 1.1.95
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.12.22.1)
10
+ Requires-Dist: ob-metaflow (==2.12.23.1)
11
11
 
12
12
  # Outerbounds platform package
13
13
 
@@ -10,7 +10,7 @@ metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery.py,sha256=MAPRQs
10
10
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery_cli.py,sha256=kqFyu2bJSnc9_9aYfBpz5xK6L6luWFZK_NMuh8f1eVk,1494
11
11
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery_decorator.py,sha256=EZDbyrfZ7fgcU-P9dMS_hpCxsdDeUE0K5VU3uNM4aW4,1506
12
12
  metaflow_extensions/outerbounds/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
13
- metaflow_extensions/outerbounds/plugins/kubernetes/kubernetes_client.py,sha256=Vbchj4D9HbMBQy7Te2QbFnQqEkfABeGxrWrvBWy5TTY,5858
13
+ metaflow_extensions/outerbounds/plugins/kubernetes/kubernetes_client.py,sha256=fx_XUkgR4r6hF2ilDfT5LubRyVrYMVIv5f6clHkCaEk,5988
14
14
  metaflow_extensions/outerbounds/plugins/nim/__init__.py,sha256=GVnvSTjqYVj5oG2yh8KJFt7iZ33cEadDD5HbdmC9hJ0,1457
15
15
  metaflow_extensions/outerbounds/plugins/nim/nim_manager.py,sha256=SWieODDxtIaeZwdMYtObDi57Kjyfw2DUuE6pJtU750w,9206
16
16
  metaflow_extensions/outerbounds/plugins/nvcf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -33,7 +33,7 @@ metaflow_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.py,
33
33
  metaflow_extensions/outerbounds/toplevel/plugins/azure/__init__.py,sha256=WUuhz2YQfI4fz7nIcipwwWq781eaoHEk7n4GAn1npDg,63
34
34
  metaflow_extensions/outerbounds/toplevel/plugins/gcp/__init__.py,sha256=BbZiaH3uILlEZ6ntBLKeNyqn3If8nIXZFq_Apd7Dhco,70
35
35
  metaflow_extensions/outerbounds/toplevel/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
36
- ob_metaflow_extensions-1.1.94.dist-info/METADATA,sha256=nE8DERColBTdDM_09M9nhsXhe4owe7eUvpZLno4BZAg,520
37
- ob_metaflow_extensions-1.1.94.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
38
- ob_metaflow_extensions-1.1.94.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
39
- ob_metaflow_extensions-1.1.94.dist-info/RECORD,,
36
+ ob_metaflow_extensions-1.1.95.dist-info/METADATA,sha256=j1qtad3fZVzbxyKYvs7IsxCvPYa2LyEDsmlSYmPzF2E,520
37
+ ob_metaflow_extensions-1.1.95.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
38
+ ob_metaflow_extensions-1.1.95.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
39
+ ob_metaflow_extensions-1.1.95.dist-info/RECORD,,