mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 02:54:08 +00:00
work around bogus type error in latest starlette
This commit is contained in:
@@ -143,7 +143,7 @@ def get_application(project_dir: Path,
|
|||||||
|
|
||||||
log_file = config.LOG_FILE
|
log_file = config.LOG_FILE
|
||||||
if log_file:
|
if log_file:
|
||||||
middleware.append(Middleware(FileLoggingMiddleware, file_name=log_file))
|
middleware.append(Middleware(FileLoggingMiddleware, file_name=log_file)) # type: ignore
|
||||||
|
|
||||||
exceptions: Dict[Any, Callable[[Request, Exception], Awaitable[Response]]] = {
|
exceptions: Dict[Any, Callable[[Request, Exception], Awaitable[Response]]] = {
|
||||||
TimeoutError: timeout_error,
|
TimeoutError: timeout_error,
|
||||||
|
|||||||
Reference in New Issue
Block a user