def Context.from_ids

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

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

708# Represent an operation the caller owns, with supplied IDs and an explicit
709# sampled indication. The IDs must belong to that operation: validating their
710# format cannot establish where they came from (law from_ids).
711def Context.from_ids(trace_id: TraceId, span_id: SpanId, sampled: Bool) -> LocalContext:
712  LocalContext{trace_id, span_id, sampled}

Uses (4)

Used by (4)