@self.callback(outputs, inputs, [])
def render_page(pathname):
    try:
        return [self.nav_layouts[self.select_page_name(pathname)]]
    except Exception as err:
        return [html.Div(children=[f'''Error rendering "{pathname}":
{err}'''])]
@self.callback(outputs, inputs, [])
def render_page(pathname):
    try:
        return [self.nav_layouts[self.select_page_name(pathname)]]
    except Exception as err:
        return [html.Div(children=[f'Error rendering "{pathname}":
{err}'])]