remove stupid rules
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
"""Pipeline execution on ephemeral workers."""
|
||||
|
||||
import paramiko
|
||||
import contextlib
|
||||
from dataclasses import dataclass
|
||||
|
||||
from materia.workers import create_worker, destroy_worker
|
||||
import paramiko
|
||||
|
||||
from materia.secrets import get_secret
|
||||
from materia.workers import create_worker, destroy_worker
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -133,7 +135,5 @@ def run_pipeline(
|
||||
|
||||
finally:
|
||||
if auto_destroy:
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
destroy_worker(worker_name, provider)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user