mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Bump peewee to 3.17.9 (#13475)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
@@ -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,
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user