def Generation.restart
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
1407# A restart replacing `previous`, with the sampled indication `sampled`, as a
1408# root (TracePlan.restart).
1409def Generation.restart(previous: RemoteContext, sampled: Bool) -> Generation:
1410 TracePlan.generation(TracePlan.restart(previous, sampled))