Skip to content

Reduce the number of reserved parameter names #1753

Open
@saikonen

Description

@saikonen

Related to the bug fix in #1736 it would be worth considering to reduce the number of reserved parameter names.

One possible approach is to prefix the internal arguments with _ to avoid the collisions with user defined parameters. The main concern with this is that it can lead to some odd UX specifically with the case of tags. If tags stops being a reserved parameter, a user can define one and then run a flow with

python CustomTagFlow.py run --tag this-is-an-internal-metaflow-tag --tags user-defined-parameter-value

which at first glance can be extremely confusing. Other edge cases might also exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions