MCPcopy Create free account
hub / github.com/hynek/structlog / _D

Function _D

tests/test_threadlocal.py:51–56  ·  view source on GitHub ↗

Returns a dict wrapped in _ThreadLocalDictWrapper.

()

Source from the content-addressed store, hash-verified

49
50@pytest.fixture(name="D")
51def _D():
52 """
53 Returns a dict wrapped in _ThreadLocalDictWrapper.
54 """
55 with pytest.deprecated_call():
56 return wrap_dict(dict)
57
58
59@pytest.fixture(name="log")

Callers

nothing calls this directly

Calls 1

wrap_dictFunction · 0.90

Tested by

no test coverage detected