refact: rename stage to repository

This commit is contained in:
2024-08-07 11:39:33 +02:00
parent 7fb7bc6f5c
commit 2de0e5ef5c
11 changed files with 119 additions and 105 deletions

View File

@@ -1,7 +1,9 @@
from ..libs.stage.stage import AbstractStage
from dash import html, dcc
from dash import dcc, html
def html_list_schema(stage:AbstractStage, with_tables=True):
from ..libs.repository.repository import AbstractRepository
def html_list_schema(stage:AbstractRepository, with_tables=True):
""" Build html list of schema in stage """
ul_classes = "ml-2"
schema_baseurl = f"/stg/{stage.name}/schema/"
@@ -36,7 +38,7 @@ def html_list_schema(stage:AbstractStage, with_tables=True):
)
def html_list_table(stage:AbstractStage, schema:str):
def html_list_table(stage:AbstractRepository, schema:str):
""" Build html list of table in stage """
table_baseurl = f"/stg/{stage.name}/schm/{schema}/table/"
return html.Ul(