Skip to content

Stubtest: option to ignore "runtime does not have argument" when implementation accepts *args/**kwargs #13305

@twoertwein

Description

@twoertwein

Feature

Pandas uses many decorators. Some of them change the function signature, e.g., @deprecate_nonkeyword_arguments(...) exposes a function that accepts *args, **kwargs instead of the original function. It would be nice to have an option to suppress "runtime does not have argument"-warnings when the implementation accepts *args/**kwargs.

Pitch

Add an option to deal with decorators or args/kwargs.

@hauntsaninja

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions