massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / routes / mapper.pyi
1 from typing import Any\r
2 \r
3 COLLECTION_ACTIONS = ...  # type: Any\r
4 MEMBER_ACTIONS = ...  # type: Any\r
5 \r
6 def strip_slashes(name): ...\r
7 \r
8 class SubMapperParent:\r
9     def submapper(self, **kargs): ...\r
10     def collection(self, collection_name, resource_name, path_prefix=..., member_prefix=..., controller=..., collection_actions=..., member_actions=..., member_options=..., **kwargs): ...\r
11 \r
12 class SubMapper(SubMapperParent):\r
13     kwargs = ...  # type: Any\r
14     obj = ...  # type: Any\r
15     collection_name = ...  # type: Any\r
16     member = ...  # type: Any\r
17     resource_name = ...  # type: Any\r
18     formatted = ...  # type: Any\r
19     def __init__(self, obj, resource_name=..., collection_name=..., actions=..., formatted=..., **kwargs) -> None: ...\r
20     def connect(self, *args, **kwargs): ...\r
21     def link(self, rel=..., name=..., action=..., method=..., formatted=..., **kwargs): ...\r
22     def new(self, **kwargs): ...\r
23     def edit(self, **kwargs): ...\r
24     def action(self, name=..., action=..., method=..., formatted=..., **kwargs): ...\r
25     def index(self, name=..., **kwargs): ...\r
26     def show(self, name=..., **kwargs): ...\r
27     def create(self, **kwargs): ...\r
28     def update(self, **kwargs): ...\r
29     def delete(self, **kwargs): ...\r
30     def add_actions(self, actions): ...\r
31     def __enter__(self): ...\r
32     def __exit__(self, type, value, tb): ...\r
33 \r
34 class Mapper(SubMapperParent):\r
35     matchlist = ...  # type: Any\r
36     maxkeys = ...  # type: Any\r
37     minkeys = ...  # type: Any\r
38     urlcache = ...  # type: Any\r
39     prefix = ...  # type: Any\r
40     req_data = ...  # type: Any\r
41     directory = ...  # type: Any\r
42     always_scan = ...  # type: Any\r
43     controller_scan = ...  # type: Any\r
44     debug = ...  # type: Any\r
45     append_slash = ...  # type: Any\r
46     sub_domains = ...  # type: Any\r
47     sub_domains_ignore = ...  # type: Any\r
48     domain_match = ...  # type: Any\r
49     explicit = ...  # type: Any\r
50     encoding = ...  # type: Any\r
51     decode_errors = ...  # type: Any\r
52     hardcode_names = ...  # type: Any\r
53     minimization = ...  # type: Any\r
54     create_regs_lock = ...  # type: Any\r
55     def __init__(self, controller_scan=..., directory=..., always_scan=..., register=..., explicit=...) -> None: ...\r
56     environ = ...  # type: Any\r
57     def extend(self, routes, path_prefix=...): ...\r
58     def make_route(self, *args, **kargs): ...\r
59     def connect(self, *args, **kargs): ...\r
60     def create_regs(self, *args, **kwargs): ...\r
61     def match(self, url=..., environ=...): ...\r
62     def routematch(self, url=..., environ=...): ...\r
63     obj = ...  # type: Any\r
64     def generate(self, *args, **kargs): ...\r
65     def resource(self, member_name, collection_name, **kwargs): ...\r
66     def redirect(self, match_path, destination_path, *args, **kwargs): ...\r