def OutgoingContext.with_state
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
2527# An outgoing context that sends `state`, such as the state received with the
2528# parent of a child operation. The caller associates the state with this
2529# operation, as with Context.from_ids.
2530def OutgoingContext.with_state(context: LocalContext, state: TraceState) -> OutgoingContext:
2531 OutgoingContext{context, state}