MCPcopy Index your code
hub / github.com/microsoft/playwright-python / _check_not_handled

Method _check_not_handled

playwright/_impl/_network.py:357–359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

355 chain.set_result(done)
356
357 def _check_not_handled(self) -> None:
358 if not self._handling_future:
359 raise Error("Route is already handled!")
360
361 def __repr__(self) -> str:
362 return f"<Route request={self.request}>"

Callers 2

_handle_routeMethod · 0.95
fallbackMethod · 0.95

Calls 1

ErrorClass · 0.90

Tested by

no test coverage detected