golden hour
/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
369 B
Del
OK
__pycache__
-
Del
OK
file_cache.py
3.45 KB
Del
OK
redis_cache.py
973 B
Del
OK
Edit: __init__.py
from textwrap import dedent try: from .file_cache import FileCache except ImportError: notice = dedent(''' NOTE: In order to use the FileCache you must have lockfile installed. You can install it via pip: pip install lockfile ''') print(notice) try: import redis from .redis_cache import RedisCache except ImportError: pass
Save