mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-03 16:42:44 +08:00
Update peewee for 3.16.3 (#10580)
This commit is contained in:
@@ -106,6 +106,7 @@ class Context:
|
||||
def query(self): ...
|
||||
|
||||
class Node:
|
||||
__isabstractmethod__: bool
|
||||
def clone(self): ...
|
||||
def __sql__(self, ctx) -> None: ...
|
||||
@staticmethod
|
||||
@@ -136,6 +137,8 @@ class Source(Node):
|
||||
def get_sort_key(self, ctx): ...
|
||||
def apply_alias(self, ctx): ...
|
||||
def apply_column(self, ctx): ...
|
||||
@property
|
||||
def star(self) -> NodeList: ...
|
||||
|
||||
class _HashableSource:
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
@@ -1227,6 +1230,7 @@ class BigBitFieldData:
|
||||
def clear_bit(self, idx) -> None: ...
|
||||
def toggle_bit(self, idx): ...
|
||||
def is_set(self, idx): ...
|
||||
def __bytes__(self) -> bytes: ...
|
||||
|
||||
class BigBitFieldAccessor(FieldAccessor):
|
||||
def __get__(self, instance, instance_type: Incomplete | None = ...): ...
|
||||
@@ -1401,6 +1405,7 @@ class ManyToManyField(MetaField):
|
||||
through_model: Incomplete | None = ...,
|
||||
on_delete: Incomplete | None = ...,
|
||||
on_update: Incomplete | None = ...,
|
||||
prevent_unsaved: bool = True,
|
||||
_is_backref: bool = ...,
|
||||
) -> None: ...
|
||||
def bind(self, model, name, set_attribute: bool = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user