Public
Authored by Bruno Duyé

Use of requests session and Retry

How to make an error resistant get or post, with many retries.

Usage: once requests_session object is initialized:

# POST
response = requests_session.post(url, json={...})
# GET
response = requests_session.get(url)
python 692 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment