We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache_metadata
When creating a cache, one get the following info in the .extensions:
.extensions
{ 'http_version': b'HTTP/1.1', 'reason_phrase': b'OK', 'network_stream': <httpcore._backends.sync.SyncStream object at 0x774d40e00050>, 'from_cache': False, 'revalidated': False }
When fetching from cache, one gets
{ 'http_version': b'HTTP/1.1', 'reason_phrase': b'OK', 'from_cache': True, 'cache_metadata': { 'cache_key': '2b0e0bfa0bf634fbd3b40cad50e7e705', 'created_at': datetime.datetime(2025, 1, 17, 14, 31, 18), 'number_of_uses': 1 }, 'revalidated': False }
I need cache_metadata straight after creating the cache.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When creating a cache, one get the following info in the
.extensions
:When fetching from cache, one gets
I need
cache_metadata
straight after creating the cache.The text was updated successfully, but these errors were encountered: