chekos / Datawrapper

A light-weight wrapper for the Datawrapper API.
https://datawrapper.readthedocs.io
MIT License
59 stars 20 forks source link

change post timeout to 30secs #419

Closed as9934 closed 3 months ago

as9934 commented 5 months ago

Update Post timeout

When trying to publish a choropleth map using dw.publish_chart() I was getting a timeout error, despite my API key having full permissions. I forked the repo, changed the timeout to 30 seconds, pip install'd the fork and re-ran the code and it worked.

I'm suggesting you update the timeout to 30 seconds to allow for larger datasets/more complicated charts.