We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
mypy 1.2.0 throws errors in return statement in next() method of BaseChunk class if I use IntChunk
notification/chunkificator.py:65: error: Unexpected keyword argument "start" for "BaseChunk" [call-arg] notification/chunkificator.py:65: error: Unexpected keyword argument "size" for "BaseChunk" [call-arg] notification/chunkificator.py:65: error: Unexpected keyword argument "max" for "BaseChunk" [call-arg] notification/chunkificator.py:65: error: Unexpected keyword argument "mode" for "BaseChunk" [call-arg] notification/chunkificator.py:184: error: Incompatible return value type (got "BaseChunk", expected "IntChunk") [return-value] Found 5 errors in 1 file (checked 4 source files)
My environment:
OS Linux GNU/Linux Python 3.9.2 pip 22.3.1 Celery 5.2.7 mypy 1.2.0
Nevertheless, class/decorator itself works as expected
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mypy 1.2.0 throws errors in return statement in next() method of BaseChunk class if I use IntChunk
My environment:
OS Linux GNU/Linux
Python 3.9.2
pip 22.3.1
Celery 5.2.7
mypy 1.2.0
Nevertheless, class/decorator itself works as expected
The text was updated successfully, but these errors were encountered: