Skip to content

[MNT]: mark **kwargs as Any to suppress warnings about "partially unknown" function signatures in pyright #27030

@vidhanio

Description

@vidhanio

Summary

It would be nice if all the **kwargs in functions were explicitly marked with Any to suppress unknown errors from pyright/pylance in strict mode.

image

Proposed fix

replace untyped **kwargs with **kwargs: Any in function signatures.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions