Skip to main content
Version: devel

dlt._workspace.helpers.dashboard.utils.home

Home page rendering helpers: workspace and pipeline home views.

header_controls

def header_controls(
dlt_profile_select: mo.ui.dropdown) -> Optional[List[mo.Html]]

View source on GitHub

Build profile-related header controls if profiles are enabled.

detect_dlt_hub

def detect_dlt_hub() -> bool

View source on GitHub

Check whether dlt.hub is available.

home_header_row

def home_header_row(dlt_profile_select: mo.ui.dropdown,
right_control: Any = None) -> mo.Html

View source on GitHub

Shared header row with logo, profile/workspace info and an optional right-hand control.

render_no_pipelines_home

def render_no_pipelines_home(
dlt_profile_select: mo.ui.dropdown) -> List[mo.Html]

View source on GitHub

Render a minimal landing shown when no pipelines are available to inspect.

The pipeline dropdown is omitted because there is nothing to select.

render_no_pipeline_selected_home

def render_no_pipeline_selected_home(
dlt_profile_select: mo.ui.dropdown,
dlt_pipeline_select: mo.ui.multiselect) -> List[mo.Html]

View source on GitHub

Render the landing shown when pipelines exist but none is selected.

The pipeline dropdown stays visible so the user can re-select a pipeline.

render_pipeline_header_row

def render_pipeline_header_row(dlt_pipeline_name: str,
dlt_profile_select: mo.ui.dropdown,
dlt_pipeline_select: mo.ui.multiselect,
buttons: List[mo.Html]) -> List[mo.Html]

View source on GitHub

Render the pipeline header row with logo, title, and action buttons.

render_pipeline_home

def render_pipeline_home(dlt_profile_select: mo.ui.dropdown,
dlt_pipeline: dlt.Pipeline,
dlt_pipeline_select: mo.ui.multiselect,
dlt_refresh_button: mo.ui.run_button,
dlt_pipeline_name: str) -> List[mo.Html]

View source on GitHub

Render the pipeline-level home view (pipeline selected or requested).

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.