(self, scope: Scope)
| 1234 | ) |
| 1235 | |
| 1236 | def matches(self, scope: Scope) -> tuple[Match, Scope]: |
| 1237 | effective_context = _get_scope_effective_route_context(scope) |
| 1238 | if effective_context is not None and effective_context.original_route is self: |
| 1239 | match, child_scope = effective_context.matches(scope) |
| 1240 | else: |
| 1241 | match, child_scope = super().matches(scope) |
| 1242 | if match != Match.NONE: |
| 1243 | child_scope["route"] = self |
| 1244 | return match, child_scope |
| 1245 | |
| 1246 | async def handle(self, scope: Scope, receive: Receive, send: Send) -> None: |
| 1247 | effective_context = _get_scope_effective_route_context(scope) |
no test coverage detected