| 11 | |
| 12 | |
| 13 | class 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 | |
| 41 | class QuartMap(Map): |
no outgoing calls
searching dependent graphs…