def TracePlan.draw
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport 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)