(self, name: str, /, **path_params: Any)
| 336 | return Match.NONE, {} |
| 337 | |
| 338 | def url_path_for(self, name: str, /, **path_params: Any) -> URLPath: |
| 339 | seen_params = set(path_params.keys()) |
| 340 | expected_params = set(self.param_convertors.keys()) |
| 341 | |
| 342 | if name != self.name or seen_params != expected_params: |
| 343 | raise NoMatchFound(name, path_params) |
| 344 | |
| 345 | path, remaining_params = replace_params(self.path_format, self.param_convertors, path_params) |
| 346 | assert not remaining_params |
| 347 | return URLPath(path=path, protocol="websocket") |
| 348 | |
| 349 | async def handle(self, scope: Scope, receive: Receive, send: Send) -> None: |
| 350 | await self.app(scope, receive, send) |
nothing calls this directly
no test coverage detected