enough-article-90757
09/11/2025, 8:23 PMNote that the flow was deployed with a modified name due to Kubernetes naming
conventions on Argo Workflows. The original flow name is stored in the workflow
annotations.
Internal error
Traceback (most recent call last):
File "/opt/pyenv/versions/3.9.23/lib/python3.9/site-packages/metaflow/cli.py", line 658, in main
start(auto_envvar_prefix="METAFLOW", obj=state)
File "/opt/pyenv/versions/3.9.23/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.23/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/pyenv/versions/3.9.23/lib/python3.9/site-packages/metaflow/cli_components/utils.py", line 69, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/pyenv/versions/3.9.23/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/pyenv/versions/3.9.23/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.23/lib/python3.9/site-packages/metaflow/_vendor/click/core.py", line 610, in invoke
return callback(args, kwargs)
File "/opt/pyenv/versions/3.9.23/lib/python3.9/site-packages/metaflow/_vendor/click/decorators.py", line 33, in new_
func
return f(get_current_context().obj, args, kwargs)
File "/opt/pyenv/versions/3.9.23/lib/python3.9/site-packages/metaflow/plugins/argo/argo_workflows_cli.py", line 341,
in create
ArgoWorkflows.delete(obj._v1_workflow_name)
File "/opt/pyenv/versions/3.9.23/lib/python3.9/site-packages/metaflow/plugins/argo/argo_workflows.py", line 263, in
delete
workflow_template["metadata"]["annotations"].get(
TypeError: 'NoneType' object is not subscriptable
This is the version I'm running:
❯ pip show metaflow
Name: metaflow
Version: 2.18.3
Summary: Metaflow: More AI and ML, Less Engineering
Home-page:
Author: Metaflow Developers
Author-email: <mailto:help@metaflow.org|help@metaflow.org>
License: Apache Software License
Location: /opt/pyenv/versions/3.9.23/lib/python3.9/site-packages
Requires: boto3, requests
Required-by:
Is this a Metaflow error?enough-article-90757
09/11/2025, 8:24 PMsquare-wire-39606
09/11/2025, 10:53 PM