You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
Currently I am working with a codebase that calls login for each API request. However, it would be more efficient if a login call was made only when necessary.
What is the best practice for caching the AuthSession cookie when using cloudant-python library so that a login call does not need to be made unless the cached AuthSessoin cookie does not exist, or has expired or an API call results in 401 - Unauthorized?