(self, scope: Scope)
| 815 | ) |
| 816 | |
| 817 | def matches(self, scope: Scope) -> tuple[Match, Scope]: |
| 818 | match, child_scope = super().matches(scope) |
| 819 | if match != Match.NONE: |
| 820 | child_scope["route"] = self |
| 821 | return match, child_scope |
| 822 | |
| 823 | |
| 824 | _FASTAPI_SCOPE_KEY = "fastapi" |