2biSrSSKJr SSKJr SSKJrJrJr \(aSSK J r "SS5r "SS \ 5r "S S \ 5r g ) zb The cache object API for implementing caches. The default is a thread safe in-memory dictionary. ) annotations)Lock)IO TYPE_CHECKINGMutableMapping)datetimecP\rSrSrSSjrS S SjjrS SjrS SjrSrg) BaseCachec[5eNNotImplementedErrorselfkeys ڐ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/cachecontrol/cache.pyget BaseCache.get !##Nc[5er rrrvalueexpiress rset BaseCache.sets "##rc[5er rrs rdeleteBaseCache.deleterrcgr )rs rcloseBaseCache.closes rr"rstrreturnz bytes | Noner rr&rbytesrzint | datetime | Noner'Nonerr&r'r*)r'r*) __name__ __module__ __qualname____firstlineno__rrrr#__static_attributes__r"rrr r s=$HL$$$$/D$ $ $ rr cT\rSrSrSS SjjrS SjrSS SjjrS SjrSrg) DictCache"NcB[5UlU=(d 0Ulgr )rlockdata)r init_dicts r__init__DictCache.__init__#sF O rc:URRUS5$r )r6rrs rr DictCache.get'syy}}S$''rcUR URRX05 SSS5 g!,(df  g=fr )r5r6updaters rr DictCache.set*s)YY II  c\ *YYs 3 AcUR XR;aURRU5 SSS5 g!,(df  g=fr )r5r6poprs rrDictCache.delete0s- YYii c"YYs +A A)r6r5r )r7z!MutableMapping[str, bytes] | Noner'r*r%r(r+) r,r-r.r/r8rrrr0r"rrr2r2"s=$(HL++$+/D+ + #rr2c,\rSrSrSrSSjrSSjrSrg) SeparateBodyBaseCache6aK In this variant, the body is not stored mixed in with the metadata, but is passed in (as a bytes-like object) in a separate call to ``set_body()``. That is, the expected interaction pattern is:: cache.set(key, serialized_metadata) cache.set_body(key) Similarly, the body should be loaded separately via ``get_body()``. c[5er r)rrbodys rset_bodySeparateBodyBaseCache.set_bodyCrrc[5e)z& Return the body as file-like object. rrs rget_bodySeparateBodyBaseCache.get_bodyFs "##rr"N)rr&rFr)r'r*)rr&r'zIO[bytes] | None)r,r-r.r/__doc__rGrJr0r"rrrCrC6s $$rrCN) rL __future__r threadingrtypingrrrrr r2rCr"rrrPs@ #44!   # #($I$r