from dash import html, dcc from ..datalake import stages from ..libs.stage.stage import AbstractStage from ..components.lists import html_list_schema def layout(stage_name=None): stage = stages[stage_name] return html.Div([ html.H2( f"{stage.name}", className="text-2xl p-4 py-2" ), html_list_schema(stage) ], className = "flex flex-col" )