mypy complains
dimaqq opened this issue · comments
Dima Tisnek commented
> poetry run mypy
src/aiodynamo/http/aiohttp.py:6: error: Cannot find implementation or library stub for module named "aiohttp"
src/aiodynamo/http/aiohttp.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
src/aiodynamo/http/aiohttp.py:38: error: Returning Any from function declared to return "bytes"
src/aiodynamo/http/httpx.py:45: error: Argument "data" to "post" of "AsyncClient" has incompatible type "bytes"; expected "Dict[Any, Any]"
Found 3 errors in 2 files (checked 13 source files)
Dima Tisnek commented
There's a comment that httpx type hints are wrong
so 🤷🏿