diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-14 21:19:17 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-14 21:58:30 -0500 |
commit | f7754797b120c0166705230e7f05a48cb8976fbb (patch) | |
tree | 80c98fbe7f596539f562b7669e00338e11ff68b3 /docs/examples.md | |
parent | 7f6389747924c33999eb1a0dc9184dd5511a0e35 (diff) | |
download | requests-cache-f7754797b120c0166705230e7f05a48cb8976fbb.tar.gz |
Add docs + example script for custom cache keys
Diffstat (limited to 'docs/examples.md')
-rw-r--r-- | docs/examples.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/examples.md b/docs/examples.md index a014d3e..74fc68b 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -81,3 +81,16 @@ These can also be found in the :lines: 1,6- ``` ::: + +## Custom cache key function +```{include} ../examples/custom_cache_keys.py +:start-line: 2 +:end-line: 15 +``` + +:::{admonition} Example code +:class: toggle +```{literalinclude} ../examples/custom_cache_keys.py +:lines: 1,17- +``` +::: |