This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
aioredis.from_url()
is missing type annotation
#1349
Labels
Describe the bug
The function
aioredis.from_url()
is not type-annotated and that causes checks withmypy --strict
to fail in user code.To Reproduce
foo.py
) containing the following:mypy --strict foo.py
). That will cause the following error:error: Call to untyped function "from_url" in typed context
.Expected behavior
The expected behavior is to have
mypy
approving the example file in strict mode.Logs/tracebacks
Python Version
aioredis Version
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: