refact: rename stage to repository
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user