def __init__(self, env, config): RequestHandler.__init__(self, env, config) db_class_name = self.config.get('db_class', None) if db_class_name: self.db_class = find_class(db_class_name) xmlize.register(self.db_class)
def __init__(self, env, config): """Set up and fetch the routes for the first time""" RequestHandler.__init__(self, env, config)