diff --git a/django-stubs/utils/decorators.pyi b/django-stubs/utils/decorators.pyi index 7a2b811..397beb8 100644 --- a/django-stubs/utils/decorators.pyi +++ b/django-stubs/utils/decorators.pyi @@ -1,11 +1,11 @@ -from typing import Any, Callable, Optional, Set, Tuple, Type, Union +from typing import Any, Callable, Iterable, Optional, Type, Union from django.utils.deprecation import MiddlewareMixin class classonlymethod(classmethod): ... def method_decorator( - decorator: Union[Callable, Set[Callable], Tuple[Callable, Callable]], name: str = ... + decorator: Union[Callable, Iterable[Callable]], name: str = ... ) -> Callable: ... def decorator_from_middleware_with_args(middleware_class: Type[MiddlewareMixin]) -> Callable: ... def decorator_from_middleware(middleware_class: Type[MiddlewareMixin]) -> Callable: ...