Skip to main content
Version: devel

dlt._workspace.helpers.dashboard.utils.pipeline

Pipeline info, config resolution, destination details, and misc pipeline helpers.

get_dashboard_config_sections

def get_dashboard_config_sections(
p: Optional[dlt.Pipeline]) -> Tuple[str, ...]

View source on GitHub

Find dashboard config section layout for a particular pipeline or for active run context type.

resolve_dashboard_config

def resolve_dashboard_config(
p: Optional[dlt.Pipeline]) -> DashboardConfiguration

View source on GitHub

Resolve the dashboard configuration

get_pipeline

def get_pipeline(pipeline_name: str, pipelines_dir: str) -> dlt.Pipeline

View source on GitHub

Get a pipeline by name. Attach exceptions must be handled by the caller.

get_destination_config

def get_destination_config(
pipeline: dlt.Pipeline) -> DestinationClientConfiguration

View source on GitHub

Get the destination config of a pipeline.

pipeline_details

def pipeline_details(c: DashboardConfiguration, pipeline: dlt.Pipeline,
pipelines_dir: str) -> List[TNameValueItem]

View source on GitHub

Get the details of a pipeline as name/value table items.

remote_state_details

def remote_state_details(pipeline: dlt.Pipeline) -> List[TNameValueItem]

View source on GitHub

Get the remote state details of a pipeline.

get_local_data_path

def get_local_data_path(pipeline: dlt.Pipeline) -> str

View source on GitHub

Get the local data path of a pipeline

open_local_folder

def open_local_folder(folder: str) -> None

View source on GitHub

Open a folder in the file explorer

def pipeline_link_list(config: DashboardConfiguration,
pipelines: List[TPipelineListItem]) -> str

View source on GitHub

Build a markdown list of links to pipelines.

exception_section

def exception_section(p: dlt.Pipeline) -> List[mo.Html]

View source on GitHub

Build an exception section for a pipeline

sanitize_trace_for_display

def sanitize_trace_for_display(trace: PipelineTrace) -> Dict[str, Any]

View source on GitHub

Sanitize a trace for display by cleaning up non-primitive keys.

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.