MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / propagator

Function propagator

tests/test_tracing.py:159–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158@pytest.fixture
159def propagator() -> Iterator[CountingPropagator]:
160 registered = propagate.get_global_textmap()
161 propagator = CountingPropagator()
162 propagate.set_global_textmap(propagator)
163 yield propagator
164 propagate.set_global_textmap(registered)
165
166
167@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

CountingPropagatorClass · 0.70

Tested by

no test coverage detected