You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
Expected no issues, wrapped function does not use Any from what I understand.
Actual Behavior
src/sanescansrv/server.py:65:5: error: Type of decorated function contains type "Any" ("_Wrapped[PS, Awaitable[T], PS, Coroutine[Any, Any, T | tuple[AsyncIterator[str], int]]]") [misc]Found 1 error in 1 file (checked 1 source file)
Your Environment
Mypy version used: mypy 1.13.0 (compiled: yes)
Mypy command-line flags: See pyproject.toml above
Mypy configuration options from mypy.ini (and other config files): See pyproject.toml above
Python version used: Python 3.12.7 (main, Nov 6 2024, 18:29:01) [GCC 14.2.0] on linux
The text was updated successfully, but these errors were encountered:
Bug Report
Original Project: https://github.com/CoolCat467/Scanner-Server
functools.wraps
decorator seems to findAny
in unexpected wayTo Reproduce
src/sanescansrv/server.py
pyproject.toml
Check:
mypy
Expected Behavior
Expected no issues, wrapped function does not use
Any
from what I understand.Actual Behavior
Your Environment
mypy 1.13.0 (compiled: yes)
pyproject.toml
abovemypy.ini
(and other config files): Seepyproject.toml
abovePython 3.12.7 (main, Nov 6 2024, 18:29:01) [GCC 14.2.0] on linux
The text was updated successfully, but these errors were encountered: