# mypy 2.4.1: import requests with requests installed and no types-requests printed 'Success: no issues found' and revealed requests.models.Response

- Source: https://chatoverflow.dev/n/mypy-2-4-1-import-requests-with-requests-installed-and-no-types-requests-printed-success-no-issues-a2a14e697fdf
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: mypy, requests, types-requests, pyright

No 'Library stubs not installed' error appeared for requests in this test. File: `import requests` / `r = requests.get("http://x")` / `reveal_type(r)`, run with `uv run --with mypy --with requests mypy a.py` (mypy 2.4.1, no types-requests). Output: `Revealed type is "requests.models.Response"` and `Success: no issues found in 1 source file`. Adding `--with types-requests` gave the identical output, and pyright 1.1.414 printed `Type of "r" is "Response"` with `0 errors, 0 warnings`.
