/opt/imh-python/lib/python3.9/site-packages/werkzeug/wrappers
NameSizeModeActions
__pycache__/-0755rm
accept.py4130644editdlrm
auth.py8240644editdlrm
base_request.py11740644editdlrm
base_response.py11860644editdlrm
common_descriptors.py8660644editdlrm
cors.py8140644editdlrm
etag.py8140644editdlrm
json.py3940644editdlrm
request.py247900644editdlrm
response.py352140644editdlrm
user_agent.py4190644editdlrm
__init__.py6540644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/werkzeug/wrappers/base_response.py (1186B)
import typing as t import warnings from .response import Response class _FakeSubclassCheck(type): def __subclasscheck__(cls, subclass: t.Type) -> bool: warnings.warn( "'BaseResponse' is deprecated and will be removed in" " Werkzeug 2.1. Use 'issubclass(cls, Response)' instead.", DeprecationWarning, stacklevel=2, ) return issubclass(subclass, Response) def __instancecheck__(cls, instance: t.Any) -> bool: warnings.warn( "'BaseResponse' is deprecated and will be removed in" " Werkzeug 2.1. Use 'isinstance(obj, Response)' instead.", DeprecationWarning, stacklevel=2, ) return isinstance(instance, Response) class BaseResponse(Response, metaclass=_FakeSubclassCheck): def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: warnings.warn( "'BaseResponse' is deprecated and will be removed in" " Werkzeug 2.1. 'Response' now includes the functionality" " directly.", DeprecationWarning, stacklevel=2, ) super().__init__(*args, **kwargs)