MCPcopy Create free account
hub / github.com/pallets/quart / QuartRule

Class QuartRule

src/quart/routing.py:13–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class QuartRule(Rule):
14 def __init__(
15 self,
16 string: str,
17 defaults: dict | None = None,
18 subdomain: str | None = None,
19 methods: Iterable[str] | None = None,
20 endpoint: str | None = None,
21 strict_slashes: bool | None = None,
22 merge_slashes: bool | None = None,
23 host: str | None = None,
24 websocket: bool = False,
25 provide_automatic_options: bool = False,
26 ) -> None:
27 super().__init__(
28 string,
29 defaults=defaults,
30 subdomain=subdomain,
31 methods=methods,
32 endpoint=endpoint,
33 strict_slashes=strict_slashes,
34 merge_slashes=merge_slashes,
35 host=host,
36 websocket=websocket,
37 )
38 self.provide_automatic_options = provide_automatic_options
39
40
41class QuartMap(Map):

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…