Skip to content

Stubs for requests are too restrictive #1093

Closed
@gvanrossum

Description

@gvanrossum

The 3rd party requests library is too dynamic for static typing, and its maintainers don't care about static typing. (There was previous discussion about this; can someone look up the issue?)

We still have stubs to guide users away from the most egregious issues, but the stubs are too restrictive. Maybe we should be satisfied with all methods and functions being(*args: Any, **kwds: Any) -> Any?

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: incompleteAnnotations or sub-modules missing from an existing package or module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions