bocadillo.compat

ExpectedAsync

ExpectedAsync(self, /, *args, **kwargs)

Raised when a feature expected an asynchronous function.

empty_wsgi_app

empty_wsgi_app() -> Callable[[dict, Callable[[str, List[str]], NoneType]], List[bytes]]

Return a WSGI app that always returns 404 Not Found.