-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature description
Use case
Use the same SQLite backend
Workarounds
Have the same key generation
Plan to implement
Maybe
from aiohttp_client_cache import CachedSession, SQLiteBackend
import requests_cache
cache = "drive/MyDrive/xyz.sqlite"
url = 'https://example.com'
requests_cache.install_cache(cache)
requests.get(url)
async def main():
global url
async with CachedSession(cache=SQLiteBackend(cache)) as session:
r = await session.get(url)
print(r.from_cache)
await main()This evaluates to False, but should be True
meetps and Miss-Inputs
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request