Skip to content

Commit a6d9df8

Browse files
authored
Add ViewSetAction.__name__ attribute (#567)
1 parent 8f41470 commit a6d9df8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest_framework-stubs/decorators.pyi

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class ViewSetAction(Protocol[_View]):
6262
kwargs: Mapping[str, Any]
6363
mapping: MethodMapper
6464
__call__: _View
65+
__name__: str
6566

6667
def api_view(
6768
http_method_names: Sequence[str] | None = ...,

0 commit comments

Comments
 (0)