MCPcopy
hub / github.com/microsoft/qlib / get_cache_dir

Method get_cache_dir

qlib/data/cache.py:323–326  ·  view source on GitHub ↗
(dir_name: str, freq: str = None)

Source from the content-addressed store, hash-verified

321
322 @staticmethod
323 def get_cache_dir(dir_name: str, freq: str = None) -> Path:
324 cache_dir = Path(C.dpm.get_data_uri(freq)).joinpath(dir_name)
325 cache_dir.mkdir(parents=True, exist_ok=True)
326 return cache_dir
327
328
329class ExpressionCache(BaseProviderCache):

Callers

nothing calls this directly

Calls 1

get_data_uriMethod · 0.80

Tested by

no test coverage detected