Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions stubs/peewee/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ peewee.SelectBase.peek
peewee.SelectBase.scalar
peewee.SelectBase.scalars

# Descriptor methods exist on FieldAccessor at runtime, but are declared on the
# generic Field classes in the stub so that `instance.field` resolves to the
# field's Python value and `Model.field` resolves to the field (for queries).
peewee.Field.__get__
peewee.Field.__set__
# BigBitField overrides __get__ to yield a BigBitFieldData wrapper, not bytes.
peewee.BigBitField.__get__
peewee.Field.__init__
# These fields take named constructor args, carried by their __new__ overloads.
peewee.CharField.__init__
peewee.ForeignKeyField.__init__
peewee.DecimalField.__init__
peewee.IdentityField.__init__

# Ignore missing playhouse modules and names we don't currently provide
playhouse\.\w+?
playhouse.flask_utils.PaginatedQuery
Expand Down
2 changes: 1 addition & 1 deletion stubs/peewee/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "4.0.5"
version = "4.0.8"
upstream-repository = "https://github.com/coleifer/peewee"
# We're not providing stubs for all playhouse modules right now
# https://github.com/python/typeshed/pull/11731#issuecomment-2065729058
Expand Down
Loading
Loading