def OutgoingContext.remove
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
2556# Delete an entry (see TraceState.remove); the context is unchanged (law
2557# outgoing_remove).
2558def OutgoingContext.remove(outgoing: OutgoingContext, key: StateKey) -> OutgoingContext:
2559 match outgoing:
2560 case OutgoingContext{context, state}:
2561 OutgoingContext{context, TraceState.remove(state, key)}