The popular #Python library “Requests” needs your help! @nateprewitt plans to add type hints to the API and is requesting feedback:

https://sethmlarson.dev/python-library-requests-is-adding-type-hints-and-needs-your-help

#typing #http #typehints

Python library “Requests” needs you to test type hints

Requests is a popular HTTP client library available on the Python Package Index (PyPI). Sitting in the top 10 packages by downloads on PyPI, this library is used by many, many projects. This librar...

sethmlarson.dev
@sethmlarson thanks for posting this! i gave some feedback I think you already saw :)
@sethmlarson @nateprewitt I tried it on a pet project of mine and everything seems fine. I don't do anything complicated, but the project does pass mypy --strict & other type checkers, formerly using types-requests for the purposes of type checking.
@sethmlarson @nateprewitt thanks for the heads-up! small typo in the instructions in your blog post : `uv install` -> `uv pip install`
@olasd @nateprewitt Thank you! I'll push a fix :)