def __init__(self, cache_path):
cache_path = os.path.abspath(os.path.expanduser(cache_path))<EOL>if not os.path.exists(cache_path):<EOL><INDENT>logger.debug('<STR_LIT>', cache_path)<EOL>os.makedirs(cache_path)<EOL><DEDENT>logger.info('<STR_LIT>', cache_path)<EOL>self.cache_path = cache_path<EOL>
Initialize the disk data cache.

:param cache_path: absolute path to the cache directory
:type cache_path: str