helpers.streamlit_helper
write_load_status_page
def write_load_status_page(pipeline: Pipeline) -> None
Display pipeline loading information. Will be moved to dlt package once tested
write_data_explorer_page
def write_data_explorer_page(pipeline: Pipeline,
schema_name: str = None,
show_dlt_tables: bool = False,
example_query: str = "",
show_charts: bool = True) -> None
Writes Streamlit app page with a schema and live data preview.
Arguments:
pipeline
Pipeline - Pipeline instance to use.schema_name
str, optional - Name of the schema to display. If None, default schema is used.show_dlt_tables
bool, optional - Should show dlt internal tables. Defaults to False.example_query
str, optional - Example query to be displayed in the SQL Query box.show_charts
bool, optional - Should automatically show charts for the queries from SQL Query box. Defaults to True.
Raises:
MissingDependencyException
- Raised when a particular python dependency is not installed