HENNGE / aiodynamo

Asynchronous, fast, pythonic DynamoDB Client

Home Page:https://aiodynamo.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mypy complains

dimaqq opened this issue · comments

> 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)

There's a comment that httpx type hints are wrong so 🤷🏿