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.
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
@actiondecorator function has an incorrect type hint indicating that it returns Action object. It does not. It returns a wrapped function.django-unfold/src/unfold/decorators.py
Line 27 in b1857a6