Use correct JSON decode exception
requests.exceptions.JSONDecodeError is non existent in requests versions before 3.0.0. Therefore requests is pinned to 2.24 or greater, and we use ValueError instead of requests.exceptions.JSONDecodeError.
parent
9df79cfd
No related branches found
No related tags found
pydantic | ||
requests | ||
requests~=2.24 | ||
setuptools |
Please register or sign in to comment