def __init__(self, routes: List[RouteInfo], middleware: MiddlewareInfo, static_routes: List[StaticRouteInfo], sinks: List[SinkInfo], error_handlers: List[ErrorHandlerInfo], asgi: bool):
    self.routes = routes
    self.middleware = middleware
    self.static_routes = static_routes
    self.sinks = sinks
    self.error_handlers = error_handlers
    self.asgi = asgi
def __init__(self, routes: List[RouteInfo], middleware: MiddlewareInfo, static_routes: List[StaticRouteInfo], sinks: List[SinkInfo], error_handlers: List[ErrorHandlerInfo], asgi: bool):
    self.routes = routes
    self.middleware = middleware
    self.static_routes = static_routes
    self.sinks = sinks
    self.error_handlers = error_handlers
    self.asgi = asgi