typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

[peewee] Fix type for field operations

Open insideable opened this issue 6 months ago • 1 comments

Should fix following mypy and pyright error:

src/main.py:7: error: Too few arguments  [call-arg]
src/main.py:7: note: "not_in" is considered instance variable, to make it class variable use ClassVar[...]
src/main.py:7: error: Argument 1 has incompatible type "list[str]"; expected "CharField"  [arg-type]

insideable avatar Jun 13 '25 10:06 insideable

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

github-actions[bot] avatar Jun 13 '25 11:06 github-actions[bot]