There was an error while loading. Please reload this page.
1 parent 3dfa590 commit 6162d36Copy full SHA for 6162d36
1 file changed
sanic_routing/route.py
@@ -18,6 +18,26 @@ def __hash__(self):
18
19
20
class Route:
21
+ __slots__ = (
22
+ "_params",
23
+ "_raw_path",
24
+ "ctx",
25
+ "handlers",
26
+ "labels",
27
+ "methods",
28
+ "name",
29
+ "params",
30
+ "parts",
31
+ "path",
32
+ "pattern",
33
+ "regex",
34
+ "requirements",
35
+ "router",
36
+ "static",
37
+ "strict",
38
+ "unquote",
39
+ )
40
+
41
def __init__(
42
self,
43
router,
0 commit comments