def RemoteContext.is_sampled

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

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

624# The sender's sampled indication.
625def RemoteContext.is_sampled(context: RemoteContext) -> Bool:
626  match context:
627    case RemoteContext{trace_id, span_id, sampled}:
628      sampled

Uses (2)

Used by (1)