Skip to content

Commit

Permalink
Bump peewee to 3.17.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 8, 2025
1 parent 73ebb9d commit 3d7b709
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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 = "3.17.8"
version = "3.17.9"
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
7 changes: 4 additions & 3 deletions stubs/peewee/peewee.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ class ForeignKeyField(Field):
deferred: Incomplete
object_id_name: Incomplete
lazy_load: Incomplete
constraint_name: Incomplete
constraint_name: str | None
def __init__(
self,
model,
Expand All @@ -1385,7 +1385,7 @@ class ForeignKeyField(Field):
to_field: Incomplete | None = ...,
object_id_name: Incomplete | None = ...,
lazy_load: bool = ...,
constraint_name: Incomplete | None = ...,
constraint_name: str | None = ...,
related_name: Incomplete | None = ...,
*args,
**kwargs,
Expand All @@ -1399,7 +1399,8 @@ class ForeignKeyField(Field):
column_name: Incomplete
safe_name: Incomplete
def bind(self, model, name, set_attribute: bool = ...) -> None: ...
def foreign_key_constraint(self): ...
def foreign_key_constraint(self, explicit_name: bool = False) -> NodeList: ...
def get_constraint_name(self) -> str: ...
def __getattr__(self, attr: str): ...

class DeferredForeignKey(Field):
Expand Down

0 comments on commit 3d7b709

Please sign in to comment.