enough-article-90757
12/11/2025, 9:56 PMpython flow.py argo-workflows create --notify-on-success --notify-slack-webhook-url <webhook>, I get Error: no such option: --notify-on-success. Same for all the other variations of flag placement, --notify-slack-on-success, etc. Does anyone know what I'm doing wrong here?ancient-application-36103
12/11/2025, 10:20 PMpython flow.py argo-workflows create --helpancient-application-36103
12/11/2025, 10:20 PMenough-article-90757
12/12/2025, 1:32 AMMetaflow 2.19.14 executing UbuntuUpdatesFlow for user:nickschmeller
Internal error
Traceback (most recent call last):
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/cli.py", line 727, in main
start(auto_envvar_prefix="METAFLOW", obj=state)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 829, in __call__
return self.main(args, kwargs)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/cli_components/utils.py", line 65, in invoke
click.Command.invoke(self, ctx)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 610, in invoke
return callback(args, kwargs)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/_vendor/click/decorators.py", line 21, in new_func
return f(get_current_context(), args, kwargs)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/cli.py", line 564, in start
decorators._init(ctx.obj.flow)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/decorators.py", line 733, in _init
deco.external_init()
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/decorators.py", line 157, in external_init
self.attributes = resolve_delayed_evaluator(self.attributes, to_dict=True)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/user_configs/config_parameters.py", line 588, in resolve_delayed_evaluator
raise e
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/user_configs/config_parameters.py", line 566, in resolve_delayed_evaluator
return {
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/user_configs/config_parameters.py", line 569, in <dictcomp>
): resolve_delayed_evaluator(v, to_dict=to_dict)
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/user_configs/config_parameters.py", line 588, in resolve_delayed_evaluator
raise e
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/user_configs/config_parameters.py", line 561, in resolve_delayed_evaluator
to_return = v()
File "/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/user_configs/config_parameters.py", line 378, in __call__
return eval(
File "<string>", line 1, in <module>
AttributeError: 'NoneType' object has no attribute 'trigger'ancient-application-36103
12/12/2025, 1:32 AMenough-article-90757
12/12/2025, 1:34 AMTraceback (most recent call last):
File "/home/coder/lwcode/riskwatch/src/flow.py", line 1, in <module>
from metaflow import Config, FlowSpec, JSONType, Parameter, kubernetes, memoize, step, card, resources, retry, tag, trigger, timeout, project, track_resources, config_expr, catch, current, schedule
ImportError: cannot import name 'Config' from 'metaflow' (/opt/pyenv/versions/3.9.25/lib/python3.9/site-packages/metaflow/__init__.py)ancient-application-36103
12/12/2025, 1:35 AMancient-application-36103
12/12/2025, 1:35 AMpython flow.py argo-workflows create --helpenough-article-90757
12/12/2025, 1:36 AMenough-article-90757
12/12/2025, 1:48 AMMetaflow 2.19.0 executing TestFlow for user:nickschmeller
Validating your flow...
The graph looks good!
Running pylint...
Pylint is happy!
Usage: dummy_flow.py argo-workflows create [OPTIONS]
Deploy a new version of this workflow to Argo Workflows.
Options:
--notify-on-error / --no-notify-on-error Notify if the workflow fails. [default: False]
--notify-on-success / --no-notify-on-success
Notify if the workflow succeeds. [default: False]
--notify-slack-webhook-url TEXT
Slack incoming webhook url for workflow success/failure notifications.
--help Show this message and exit.
But when I run
python src/dummy_flow.py argo-workflows create \
--notify-slack-webhook-url <webhook> \
--notify-on-success --notify-on-failure
I get
Metaflow 2.19.14 executing TestFlow for user:nickschmeller
Validating your flow...
The graph looks good!
Running pylint...
Pylint is happy!
Usage: dummy_flow.py argo-workflows create [OPTIONS]
Try 'dummy_flow.py argo-workflows create --help' for help.
Error: no such option: --notify-on-failureenough-article-90757
12/12/2025, 1:48 AMenough-article-90757
12/12/2025, 1:50 AMhundreds-rainbow-67050
12/12/2025, 1:51 AMenough-article-90757
12/12/2025, 1:52 AM--notify-on-success originally didn't work. But in the run I pasted above, I had a typo where I used the wrong flag. So still trying to reproduce the state for the original run