MCPcopy Create free account
hub / github.com/psf/cachecontrol / use_adapter

Function use_adapter

tests/test_adapter.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def use_adapter():
25 print("Using adapter")
26 sess = Session()
27 sess.mount("http://", CacheControlAdapter())
28 return sess
29
30
31@pytest.fixture(params=[use_adapter, use_wrapper])

Callers

nothing calls this directly

Calls 1

CacheControlAdapterClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…