Skip to main content
Version: devel

pipeline.trace

SerializableResolvedValueTrace Objects

class SerializableResolvedValueTrace(NamedTuple)

[view_source]

Information on resolved secret and config values

asdict

def asdict() -> StrAny

[view_source]

A dictionary representation that is safe to load.

_PipelineStepTrace Objects

class _PipelineStepTrace(NamedTuple)

[view_source]

step_info

A step outcome info ie. LoadInfo

step_exception

For failing steps contains exception string

exception_traces

For failing steps contains traces of exception chain causing it

PipelineStepTrace Objects

class PipelineStepTrace(SupportsHumanize, _PipelineStepTrace)

[view_source]

Trace of particular pipeline step, contains timing information, the step outcome info or exception in case of failing step with custom asdict()

asdict

def asdict() -> DictStrAny

[view_source]

A dictionary representation of PipelineStepTrace that can be loaded with dlt

_PipelineTrace Objects

class _PipelineTrace(NamedTuple)

[view_source]

Pipeline runtime trace containing data on "extract", "normalize" and "load" steps and resolved config and secret values.

steps

A list of steps in the trace

resolved_config_values

A list of resolved config values

PipelineTrace Objects

class PipelineTrace(SupportsHumanize, _PipelineTrace)

[view_source]

asdict

def asdict() -> DictStrAny

[view_source]

A dictionary representation of PipelineTrace that can be loaded with dlt

merge_traces

def merge_traces(last_trace: PipelineTrace,
new_trace: PipelineTrace) -> PipelineTrace

[view_source]

Merges new_trace into last_trace by combining steps and timestamps. new_trace replace the last_trace if it has more than 1 step.`

get_exception_traces

def get_exception_traces(exc: BaseException,
container: Container = None) -> List[ExceptionTrace]

[view_source]

Gets exception trace chain and extend it with data available in Container context

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.