FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[peewee] type peewee.Check by Psycojoker · Pull Request #15962 · python/typeshed · GitHub

[peewee] type peewee.Check - #15962

Closed
Psycojoker wants to merge 1 commit into
python:mainfrom
Psycojoker:peewee-type-peewee-Check
Closed

[peewee] type peewee.Check#15962
Psycojoker wants to merge 1 commit into
python:mainfrom
Psycojoker:peewee-type-peewee-Check

Conversation

Copy link
Copy Markdown
Contributor

Hello,

Here is the reference for the Check function:

https://docs.peewee-orm.com/en/latest/peewee/api.html#Check

And the related source code:

Since both SQL and NodeList inherit from ColumnBase, it might make more sens to write the return type as ColumnBase, but I'm not sure if a more generic type is preferred over a more precise one?

Kind regards,

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

Closed in favor of #15911 (comment) (and the work is likely going to be upstream in peewee itself)

Psycojoker closed this Jun 28, 2026
Psycojoker deleted the peewee-type-peewee-Check branch June 28, 2026 13:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL