mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 19:12:31 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
@@ -44,7 +44,7 @@ CSQ_PARENTHESES_NEVER: Final = 0
|
||||
CSQ_PARENTHESES_ALWAYS: Final = 1
|
||||
CSQ_PARENTHESES_UNNESTED: Final = 2
|
||||
|
||||
def chunked(it, n) -> Generator[Incomplete, None, None]: ...
|
||||
def chunked(it, n) -> Generator[Incomplete]: ...
|
||||
|
||||
class _callable_context_manager:
|
||||
def __call__(self, fn): ...
|
||||
@@ -573,7 +573,7 @@ class SelectBase(_HashableSource, Source, SelectQuery): # type: ignore[misc]
|
||||
def peek(self, database=None, n: int = 1): ...
|
||||
def first(self, database=None, n: int = 1): ...
|
||||
def scalar(self, database=None, as_tuple: bool = False, as_dict: bool = False): ...
|
||||
def scalars(self, database=None) -> Generator[Incomplete, None, None]: ...
|
||||
def scalars(self, database=None) -> Generator[Incomplete]: ...
|
||||
def count(self, database=None, clear_limit: bool = False): ...
|
||||
def exists(self, database=None) -> bool: ...
|
||||
def get(self, database=None): ...
|
||||
@@ -818,7 +818,7 @@ class Database(_callable_context_manager):
|
||||
def begin(self) -> None: ...
|
||||
def commit(self) -> None: ...
|
||||
def rollback(self) -> None: ...
|
||||
def batch_commit(self, it, n) -> Generator[Incomplete, None, None]: ...
|
||||
def batch_commit(self, it, n) -> Generator[Incomplete]: ...
|
||||
def table_exists(self, table_name, schema: str | None = None) -> bool: ...
|
||||
def get_tables(self, schema: str | None = None) -> list[str]: ...
|
||||
def get_indexes(self, table, schema: str | None = None) -> list[IndexMetadata]: ...
|
||||
@@ -1057,7 +1057,7 @@ class CursorWrapper:
|
||||
def initialize(self) -> None: ...
|
||||
def iterate(self, cache: bool = True): ...
|
||||
def process_row(self, row): ...
|
||||
def iterator(self) -> Generator[Incomplete, None, None]: ...
|
||||
def iterator(self) -> Generator[Incomplete]: ...
|
||||
def fill_cache(self, n: int = 0) -> None: ...
|
||||
|
||||
class DictCursorWrapper(CursorWrapper):
|
||||
@@ -1666,9 +1666,7 @@ class Model(metaclass=ModelBase):
|
||||
def dirty_fields(self) -> list[Incomplete]: ...
|
||||
@property
|
||||
def dirty_field_names(self) -> list[Incomplete]: ...
|
||||
def dependencies(
|
||||
self, search_nullable: bool = True, exclude_null_children: bool = False
|
||||
) -> Generator[Incomplete, None, None]: ...
|
||||
def dependencies(self, search_nullable: bool = True, exclude_null_children: bool = False) -> Generator[Incomplete]: ...
|
||||
def delete_instance(self, recursive: bool = False, delete_nullable: bool = False): ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __eq__(self, other) -> Expression | bool: ... # type: ignore[override]
|
||||
|
||||
Reference in New Issue
Block a user