Skip to content

Fix annotation for with_query()/update_query() methods #528

@asvetlov

Description

@asvetlov

URL("something").update_query(key=['value1', 'value2']) works but mypy blames that this overload is not available.

The fix is trivial, yarl/__init__.pyi should be updated

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