GIScience / ohsome-py

Python bindings for the ohsome API
GNU General Public License v3.0
18 stars 4 forks source link

Retry configuration #113

Closed maciej-adamiak closed 10 months ago

maciej-adamiak commented 1 year ago

Expose requests.Session and requests.packages.urllib3.util.retry.Retry configuration parameters.

SlowMo24 commented 10 months ago

what do you mean with the Session parameters. I don't see any parameters for the Session object?

maciej-adamiak commented 10 months ago

https://github.com/GIScience/ohsome-py/blob/aca419e01d71ff731b7baefe12fe3d84a65754d8/ohsome/clients.py#L61 Currently there is no control over retry config.

SlowMo24 commented 10 months ago

yes, I'm currently implementing the retry config, but was unsure what you meant by the requests.Session config parameters you mentioned in the issue