mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
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:
committed by
Sebastian Rittau
parent
9b9ff64fc5
commit
d371513b80
7
third_party/2and3/werkzeug/wrappers.pyi
vendored
7
third_party/2and3/werkzeug/wrappers.pyi
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user