urschrei / pyzotero

Pyzotero: a Python client for the Zotero API
https://pyzotero.readthedocs.org
Other
908 stars 99 forks source link

Allow passing requests session for customisation #170

Open zacps opened 11 months ago

zacps commented 11 months ago

This lets users customise network behaviour, for example using requests-cache as a session provides persistent multi-process caching

urschrei commented 11 months ago

Thanks! I'm inclined to accept this PR, but I'd like to see some more documentation added explaining what the feature is for (just a simple example), and making it obvious that it's optional and most people don't have to worry about it.

zacps commented 11 months ago

Cool :). Do you think something like that would be enough?