dgunning / edgartools

Python library for working with SEC Edgar
MIT License
345 stars 74 forks source link

Fixing httpx.ReadTimeout handling in core.py #6

Closed linusbiostat closed 1 year ago

linusbiostat commented 1 year ago

Hey! Congrats to this great project! I've been getting some httpx.ReadTimeouts while trying to fetch data from the SEC. To handle these, I've added the retry wrapper from the retry package which retries after 2 seconds until the connection works. I've also added the dependency to pyproject.toml

dgunning commented 1 year ago

Thanks for your contribution .. checking .. Cheers!