diff --git a/dlt/helpers/streamlit_app/blocks/pipeline_state.py b/dlt/helpers/streamlit_app/blocks/pipeline_state.py index 4a465a8774..efa9f0dd06 100644 --- a/dlt/helpers/streamlit_app/blocks/pipeline_state.py +++ b/dlt/helpers/streamlit_app/blocks/pipeline_state.py @@ -2,15 +2,10 @@ import streamlit as st from dlt.common.destination.reference import WithStateSync -from dlt.helpers.streamlit_app.widgets import tag from dlt.pipeline.state_sync import load_pipeline_state_from_destination def pipeline_state_info(pipeline: dlt.Pipeline) -> None: - st.divider() - tag(pipeline.pipeline_name, label="Pipeline") - tag(pipeline.destination.destination_name, label="Destination") - remote_state = None with pipeline.destination_client() as client: if isinstance(client, WithStateSync): diff --git a/dlt/helpers/streamlit_app/widgets/summary.py b/dlt/helpers/streamlit_app/widgets/summary.py index 9f4d8d9b00..afbefbe608 100644 --- a/dlt/helpers/streamlit_app/widgets/summary.py +++ b/dlt/helpers/streamlit_app/widgets/summary.py @@ -11,8 +11,8 @@ def pipeline_summary(pipeline: dlt.Pipeline) -> None: st.error("🚨 Cannot load data - SqlClient not available") schema_names = ", ".join(sorted(pipeline.schema_names)) - expander = st.expander("Pipeline info", expanded=True) - expander.markdown(f""" + st.subheader("Pipeline info", divider=True) + st.markdown(f""" * pipeline name: **{pipeline.pipeline_name}** * destination: **{str(credentials)}** in **{pipeline.destination.destination_description}** * dataset name: **{pipeline.dataset_name}**