diff options
author | Jordan Cook <jordan.cook.git@proton.me> | 2023-01-11 17:06:25 -0600 |
---|---|---|
committer | Jordan Cook <jordan.cook.git@proton.me> | 2023-01-13 14:22:31 -0600 |
commit | 7b60ab73b727bb19c842426ee0225c5333059e9e (patch) | |
tree | 0b06f1ee605b38effefe918b39959f0bf4905066 | |
parent | d892c2237d28d86edd11004d119a8c94c2efc56d (diff) | |
parent | c3cb6d56d2c03d3c5da7edda1add5a76616e2516 (diff) | |
download | requests-cache-7b60ab73b727bb19c842426ee0225c5333059e9e.tar.gz |
Merge pull request #760 from glensc/patch-1
Docs: Fix FuturesSession typo
-rw-r--r-- | docs/user_guide/compatibility.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/user_guide/compatibility.md b/docs/user_guide/compatibility.md index c7284fb..a2b3fdb 100644 --- a/docs/user_guide/compatibility.md +++ b/docs/user_guide/compatibility.md @@ -46,11 +46,11 @@ support wrapping an existing session object: >>> from requests_cache import CachedSession >>> from requests_futures.sessions import FuturesSession ->>> session = FutureSession(session=CachedSession()) +>>> session = FuturesSession(session=CachedSession()) ``` -In this case, `FutureSession` must wrap `CachedSession` rather than the other way around, since -`FutureSession` returns (as you might expect) futures rather than response objects. +In this case, `FuturesSession` must wrap `CachedSession` rather than the other way around, since +`FuturesSession` returns (as you might expect) futures rather than response objects. See [issue #135](https://github.com/requests-cache/requests-cache/issues/135) for more notes on this. ## Requests-OAuthlib |