Skip to content

Commit 050c1b8

Browse files
mattbastamkurnikov
authored andcommitted
Add gzip_page decorator (#41)
* Add gzip_page decorator * Update to preserve Callable
1 parent 8978ad4 commit 050c1b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from typing import Callable, TypeVar
2+
3+
_C = TypeVar("_C", bound=Callable)
4+
5+
def gzip_page(view_func: _C) -> _C: ...

0 commit comments

Comments
 (0)