Skip to content

Correctly type vary_on_headers decorator #1340

@intgr

Description

@intgr

What's wrong

Noticed this while reviewing #1339. The vary_on_headers decorator doesn't preserve the type (arguments and return) when used on a function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstubsIssues in stubs files (.pyi)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions