CHIMEFRB / workflow

šŸŒŠ Working in flowstate.
0 stars 0 forks source link

[BUG] `workflow run <pipeline>` returns error #16

Closed odarotto closed 9 months ago

odarotto commented 9 months ago

When trying to do a workflow run with an example Work object I receive the following error:

āžœ  workflow git:(main) workflow run hello-world-message -s local
/home/odars/.cache/pypoetry/virtualenvs/workflow-meXe5tr2-py3.10/lib/python3.10/site-packages/pydantic_settings/sources.py:298: UserWarning: directory "/run/secrets" does not exist
  warnings.warn(f'directory "{self.secrets_path}" does not exist')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/odars/.cache/pypoetry/virtualenvs/workflow-meXe5tr2-py3.10/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/odars/.cache/pypoetry/virtualenvs/workflow-meXe5tr2-py3.10/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/odars/.cache/pypoetry/virtualenvs/workflow-meXe5tr2-py3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/odars/.cache/pypoetry/virtualenvs/workflow-meXe5tr2-py3.10/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/odars/.cache/pypoetry/virtualenvs/workflow-meXe5tr2-py3.10/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
TypeError: run() got an unexpected keyword argument 'attempts'   <----