Код: Выделить всё
import redis
a = redis.StrictRedis(host="a", port=123, db=0, decode_response=true)
< /code>
mypy дает ошибку
Missing type parameters for generic type "StrictRedis" [type-arg]версия Python: 3.9.20
версия Mypy: 1.14.1
Подробнее здесь: https://stackoverflow.com/questions/793 ... trictredis