module documentation

File based cache for the discovery document.

The cache is stored in a single file so that multiple processes can share the same cache. It locks the file whenever accessing to the file. When the cache content is corrupted, it will be initialized with an empty cache.

Class Cache A file based cache for the discovery documents.
Constant EPOCH Undocumented
Constant FILENAME Undocumented
Constant LOGGER Undocumented
Variable cache Undocumented
Function _read_or_initialize_cache Undocumented
Function _to_timestamp Undocumented
EPOCH =

Undocumented

Value
datetime.datetime(1970, 1, 1)
FILENAME: str =

Undocumented

Value
'google-api-python-client-discovery-doc.cache'
LOGGER =

Undocumented

Value
logging.getLogger(__name__)
cache =

Undocumented

def _read_or_initialize_cache(f):

Undocumented

def _to_timestamp(date):

Undocumented