Files
django-stubs/django-stubs/views/decorators/gzip.pyi
Matt Basta 050c1b8887 Add gzip_page decorator (#41)
* Add gzip_page decorator

* Update to preserve Callable
2019-03-06 21:16:24 +03:00

6 lines
114 B
Python

from typing import Callable, TypeVar
_C = TypeVar("_C", bound=Callable)
def gzip_page(view_func: _C) -> _C: ...