Skip to content

Preserve Type Hints in decorators #64

@steamraven

Description

@steamraven

With Python 3.10 (and earlier with typing_extensions), we now have access to allow decorators to properly forward type hints from the wrapped function.

More details can be found here
https://stackoverflow.com/questions/74074580/how-to-avoid-losing-type-hinting-of-decorated-function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions