class IntersphinxCache(CacheT):
Class Method | fromParameters |
Construct an instance with the given parameters. |
Method | get |
Retrieve a URL using the cache. |
Instance Variable | _session |
A session that may or may not cache requests. |
Parameters | |
sessionFactory:Callable[ | A zero-argument callable that returns a requests.Session . |
cachePath:str | Path of the cache directory. |
maxAgeDictionary:Mapping[ | A mapping describing the maximum age of any cache entry. |
Returns | |
IntersphinxCache | Undocumented |
See Also | |
parseMaxAge |
pydoctor.sphinx.CacheT.get
Parameters | |
url:str | The URL to retrieve. |
Returns | |
Optional[ | The body of the URL, or None on failure. |