Skip to main content
Version: 1.22.2 (latest)

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,
dlt_pipeline_select: mo.ui.multiselect) -> mo.Html

View source on GitHub

Shared header row with logo, profile/workspace info and pipeline select.

render_workspace_home

def render_workspace_home(dlt_profile_select: mo.ui.dropdown,
dlt_all_pipelines: List[TPipelineListItem],
dlt_pipeline_select: mo.ui.multiselect,
dlt_pipelines_dir: str,
dlt_config: DashboardConfiguration) -> List[mo.Html]

View source on GitHub

Render the workspace-level home view (no pipeline selected).

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_pipelines_dir: str,
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.