Spaces:
Sleeping
Sleeping
Download backend/utils/cache.py from Shivam311/codeatlas-enterprise: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/spaces/Shivam311/codeatlas-enterprise/resolve/main/backend/utils/cache.py
- Command line
-
hf download hf://spaces/Shivam311/codeatlas-enterprise/backend/utils/cache.py
-
curl -L -o cache.py https://huggingface.co/spaces/Shivam311/codeatlas-enterprise/resolve/main/backend/utils/cache.py
347 Bytes
| """Simple in-memory repository cache for hackathon use.""" | |
| from __future__ import annotations | |
| from typing import Any, Dict | |
| repo_cache: Dict[str, Dict[str, Any]] = {} | |
| analysis_cache: Dict[str, Dict[str, Any]] = {} | |
| metrics_cache: Dict[str, Dict[str, Any]] = {} | |
| docs_cache: Dict[str, Dict[str, Any]] = {} | |
| job_cache: Dict[str, Dict[str, Any]] = {} | |