Skip to content

Commit fcceacf

Browse files
committed
fix(controller): fix typing for controller base
1 parent fde6d16 commit fcceacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ninja_extra/controllers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def some_method_name(self):
120120
# `context` variable will change based on the route function called on the APIController
121121
# that way we can get some specific items things that belong the route function during execution
122122
context: Optional["RouteContext"] = None
123-
throttling_classes: List["BaseThrottle"] = []
123+
throttling_classes: List[Type["BaseThrottle"]] = []
124124
throttling_init_kwargs: Optional[Dict[Any, Any]] = None
125125

126126
Ok = Ok

0 commit comments

Comments
 (0)