TraceContext.Context.root_from_ids: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext Lines 714-721 of bend-trace-context@0.2.0.0/trace_context.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&start_line=714&end_line=721 import Base # Start a trace with supplied IDs and the sampled indication that the caller # decided, kept as it is given (spec #41, "Sampling decision when starting a # trace"; law root). False gives an unsampled root, the default of spec #1, # "New roots default to sampled `0`", which Context.continue_or_start_with # applies itself. generation.bend provides Context.root, Context.child and # Context.restart for generated IDs. def Context.root_from_ids(trace_id: TraceId, span_id: SpanId, sampled: Bool) -> LocalContext: Context.from_ids(trace_id, span_id, sampled) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Context.from_ids https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=LocalContext https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=SpanId https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=TraceId