werkzeug: ETagRequestMixin's functions are properties (#2894)

This was causing mypy to incorrectly flag reads of these properties
and complain that they're Callable, which is incorrect.
This commit is contained in:
Brendan Long
2019-03-30 13:44:10 -04:00
committed by Sebastian Rittau
parent 9b9ff64fc5
commit d371513b80

View File

@@ -143,12 +143,19 @@ class AcceptMixin(object):
def accept_languages(self) -> LanguageAccept: ...
class ETagRequestMixin:
@property
def cache_control(self): ...
@property
def if_match(self): ...
@property
def if_none_match(self): ...
@property
def if_modified_since(self): ...
@property
def if_unmodified_since(self): ...
@property
def if_range(self): ...
@property
def range(self): ...
class UserAgentMixin: