Cache
b2sdk caches the mapping between bucket name and bucket id, so that the user of the library does not need to maintain the mapping to call the api.
- class b2sdk.v3.AbstractCache[source]
- class b2sdk.v3.AuthInfoCache(info)[source]
A cache that stores data persistently in StoredAccountInfo.
- Parameters:
info (
AbstractAccountInfo) –
- __init__(info)[source]
- Parameters:
info (
AbstractAccountInfo) –
- clear()
- class b2sdk.v3.DummyCache[source]
A cache that does nothing.
- clear()