Skip to content

Poorly typed return on @action decorator #2020

Description

@Verifitas

What version of Unfold are you using?

Current master

Did you checked changelog/commit history, if the bug is not already fixed?

Yes.

Did you searched other issues, if the bug is not already fixed?

Yes.

Describe your issue

The @action decorator function has an incorrect type hint indicating that it returns Action object. It does not. It returns a wrapped function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions