massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / werkzeug / utils.pyi
1 from typing import Any\r
2 from werkzeug._internal import _DictAccessorProperty\r
3 \r
4 class cached_property(property):\r
5     __name__ = ...  # type: Any\r
6     __module__ = ...  # type: Any\r
7     __doc__ = ...  # type: Any\r
8     func = ...  # type: Any\r
9     def __init__(self, func, name=None, doc=None): ...\r
10     def __set__(self, obj, value): ...\r
11     def __get__(self, obj, type=None): ...\r
12 \r
13 class environ_property(_DictAccessorProperty):\r
14     read_only = ...  # type: Any\r
15     def lookup(self, obj): ...\r
16 \r
17 class header_property(_DictAccessorProperty):\r
18     def lookup(self, obj): ...\r
19 \r
20 class HTMLBuilder:\r
21     def __init__(self, dialect): ...\r
22     def __call__(self, s): ...\r
23     def __getattr__(self, tag): ...\r
24 \r
25 html = ...  # type: Any\r
26 xhtml = ...  # type: Any\r
27 \r
28 def get_content_type(mimetype, charset): ...\r
29 def format_string(string, context): ...\r
30 def secure_filename(filename): ...\r
31 def escape(s, quote=None): ...\r
32 def unescape(s): ...\r
33 def redirect(location, code=302, Response=None): ...\r
34 def append_slash_redirect(environ, code=301): ...\r
35 def import_string(import_name, silent=False): ...\r
36 def find_modules(import_path, include_packages=False, recursive=False): ...\r
37 def validate_arguments(func, args, kwargs, drop_extra=True): ...\r
38 def bind_arguments(func, args, kwargs): ...\r
39 \r
40 class ArgumentValidationError(ValueError):\r
41     missing = ...  # type: Any\r
42     extra = ...  # type: Any\r
43     extra_positional = ...  # type: Any\r
44     def __init__(self, missing=None, extra=None, extra_positional=None): ...\r
45 \r
46 class ImportStringError(ImportError):\r
47     import_name = ...  # type: Any\r
48     exception = ...  # type: Any\r
49     def __init__(self, import_name, exception): ...\r