There is a potential inconsistency in `card_cli.py...
# dev-metaflow
f
There is a potential inconsistency in
card_cli.py
`resolve_task_from_pathspec()`: https://github.com/Netflix/metaflow/blob/master/metaflow/plugins/cards/card_cli.py#L67-L84 When a user provides
runid/stepname
or
runid/stepname/taskid
pathspec, the code calls
namespace(None)
to search globally across all namespaces for the target
task
. However, if the user provides only
stepname
pathspec, it doesn't reset the namespace meaning it only searches for the target
task
in the current set namespace. Is this intentional, or should the
stepname
pathspec also search globally across all namespaces?
h
that makes sense.. stepnames arent uniquely identifying so it doesnt make sense to search across all namespaces
👍 1