You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen the comment about the change, but I cannot understand why this is a good way to go. This class is often used as parent class. No attribute checks can be made in any child class.
Can we please remove these definitions?
The text was updated successfully, but these errors were encountered:
A __setattr__ and __getattr__ in werkzeug.wrappers.BaseRequest
break the attr-defined check.
Change-Id: Ib45b8cd19912fcbe1de5c8f6ccc1b05f001bfb5f
See: python/typeshed#3913
…n#3913)
The PR python#2740 added __setattr__ and __getattr__ to the
werkzeug.wrappers.BaseRequest definition to silence mypy when
monkeypatching this class.
The change disabled the errors for monkeypatching, but disabled disabled the
important check attr-defined.
…n#3913) (python#3925)
The PR python#2740 added __setattr__ and __getattr__ to the
werkzeug.wrappers.BaseRequest definition to silence mypy when
monkeypatching this class.
The change disabled the errors for monkeypatching, but disabled disabled the
important check attr-defined.
The PR #2740 added
__setattr__
and__getattr__
to thewerkzeug.wrappers.BaseRequest
definition.typeshed/third_party/2and3/werkzeug/wrappers.pyi
Line 92 in 60cdee5
I have seen the comment about the change, but I cannot understand why this is a good way to go. This class is often used as parent class. No attribute checks can be made in any child class.
Can we please remove these definitions?
The text was updated successfully, but these errors were encountered: