diff options
| author | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-27 18:38:21 -0500 |
|---|---|---|
| committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-27 18:58:27 -0500 |
| commit | 7bfa27e6987198be77acafb91d573f9a0acddf9f (patch) | |
| tree | 2d95bd68176cf2d48335191f5cbfda7fde7623e2 /docs | |
| parent | 364f3653ba92620090ba9fdbf73135944fbbe45b (diff) | |
| download | requests-cache-7bfa27e6987198be77acafb91d573f9a0acddf9f.tar.gz | |
Add example with ThreadPoolExecutor
Diffstat (limited to 'docs')
| -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 f1d4d4f..74af693 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -54,6 +54,19 @@ The following scripts can also be found in the ``` ::: +### Multi-threaded requests +```{include} ../examples/threads.py +:start-line: 2 +:end-line: 4 +``` + +:::{admonition} Example code +:class: toggle +```{literalinclude} ../examples/threads.py +:lines: 1,6- +``` +::: + ### Logging requests ```{include} ../examples/log_requests.py :start-line: 2 |
