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

Method __init__

cachecontrol/heuristics.py:85–86  ·  view source on GitHub ↗
(self, **kw: Any)

Source from the content-addressed store, hash-verified

83 """
84
85 def __init__(self, **kw: Any) -> None:
86 self.delta = timedelta(**kw)
87
88 def update_headers(self, response: HTTPResponse) -> dict[str, str]:
89 expires = expire_after(self.delta)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected