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