Skip to content

[Feat] Warn users about unused arguments #1646

Open
@Jackmin801

Description

@Jackmin801

Why?

The current config parsing code does not provide any error or warning when a user passes an unsupported kwarg to the recipe. This could lead users to believe that a feature is active when it is not either because the recipe didnt support it or because they mispelled the kwarg.

We could parse the kwargs by popping them to keep track of unused kwargs and provide a warning if any passed kwargs went unused.

Result

  • Users will be warned or observe an error when they pass a kwarg that is unsupported to a recipe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    community help wantedWe would love the community's help completing this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions