def SpanPlan.draw
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
1286# The generation that draws the span ID of a plan, from its first candidate.
1287def SpanPlan.draw(plan: SpanPlan) -> Step:
1288 match plan:
1289 case SpanPlan{excluded, trace_id, sampled}:
1290 Step.of_span(SpanDraw.start(excluded), trace_id, sampled)