def TracePlan.draw

bend-trace-context@0.2.0.0 · trace_context.bend:1315

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

1315# The generation that draws the new trace of a plan: its trace ID, from the
1316# first candidate, then the span ID of the root's span plan (Step.of_trace).
1317def TracePlan.draw(plan: TracePlan) -> Step:
1318  match plan:
1319    case TracePlan{excluded, sampled}:
1320      Step.of_trace(TraceDraw.start(excluded), sampled)

Uses (4)

Used by (3)