Skip to content

Conversation

@insideable
Copy link
Contributor

@insideable insideable commented Jun 13, 2025

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]

Fixes #14330

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]
```
@github-actions
Copy link
Contributor

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

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and sorry for the long delay!

@srittau srittau merged commit e91e2fd into python:main Jul 7, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[peewee] Incorrect type for field operations

2 participants