Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Handling *args and **kwargs in parameter validation framework #25113

Closed
@glemaitre

Description

@glemaitre

Currently, our parameter validation framework is not designed to work properly with *args (I did not test it) and **kwargs passed in a function.

If kwargs is not part of validate_params, we raise an error as a missing constraint. If we add it in the constraint then kwargs is actually not the name of any parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions