def __init__(self, wsgi_app, mapper, use_method_override=True,
                 path_info=True, singleton=True):
        self.app = wsgi_app
        self.mapper = mapper
        self.singleton = singleton
        self.use_method_override = use_method_override
        self.path_info = path_info
        self.log_debug = logging.DEBUG >= log.getEffectiveLevel()
        if self.log_debug:
            log.debug("Initialized with method overriding = %s, and path "
                      "info altering = %s", use_method_override, path_info)
Create a Route middleware object
dataset/ETHPy150Open bbangert/routes/routes/middleware.py/RoutesMiddleware.__init__