Skip to content

API: consider better decorator option #13875

@chris-b1

Description

@chris-b1

It's not an issue in py3.5, but in older versions this is annoying - because a decorator is used in the definition, the function signature on to_datetime is lost. This is the big one I've run into, but there may be some other places in the API it comes up.
image

I saw this blog today - could use one of the strategies there. It may make sense to vendor rather than adding another dependency?
https://hynek.me/articles/decorators/

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