From e9744769f99ffeeb8982ad96e0d893f749db0fa6 Mon Sep 17 00:00:00 2001 From: Patricia Grubel Date: Fri, 2 Feb 2024 13:26:25 -0700 Subject: [PATCH] Fix pylama issues --- beeflow/client/bee_client.py | 3 ++- beeflow/wf_manager/resources/wf_actions.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beeflow/client/bee_client.py b/beeflow/client/bee_client.py index 958fc8f01..b269846b4 100644 --- a/beeflow/client/bee_client.py +++ b/beeflow/client/bee_client.py @@ -168,7 +168,7 @@ def match_short_id(wf_id): def get_wf_status(wf_id): - """ Get workflow status.""" + """Get workflow status.""" try: conn = _wfm_conn() resp = conn.get(_resource(wf_id), timeout=60) @@ -180,6 +180,7 @@ def get_wf_status(wf_id): return resp.json()['wf_status'] + app = typer.Typer(no_args_is_help=True, add_completion=False, cls=NaturalOrderGroup) app.add_typer(core.app, name='core') app.add_typer(config_driver.app, name='config') diff --git a/beeflow/wf_manager/resources/wf_actions.py b/beeflow/wf_manager/resources/wf_actions.py index 1d3a1d65e..90e377fcc 100644 --- a/beeflow/wf_manager/resources/wf_actions.py +++ b/beeflow/wf_manager/resources/wf_actions.py @@ -86,7 +86,6 @@ def delete(self, wf_id): os.remove(archive_path) return resp - def patch(self, wf_id): """Pause or resume workflow.""" db = connect_db(wfm_db, db_path)