mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-18 06:19:47 +08:00
d5e45db79b
* Better linting config * Applies isort on django-stubs, only style changes * Fixes black and isort compat
8 lines
247 B
Python
8 lines
247 B
Python
from typing import Any, Callable, TypeVar
|
|
|
|
_F = TypeVar("_F", bound=Callable[..., Any])
|
|
|
|
def xframe_options_deny(view_func: _F) -> _F: ...
|
|
def xframe_options_sameorigin(view_func: _F) -> _F: ...
|
|
def xframe_options_exempt(view_func: _F) -> _F: ...
|