Skip to content

Commit

Permalink
Fix pylama issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pagrubel committed Feb 2, 2024
1 parent 9e43a02 commit e974476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion beeflow/client/bee_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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')
Expand Down
1 change: 0 additions & 1 deletion beeflow/wf_manager/resources/wf_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e974476

Please sign in to comment.