Skip to content

Commit 05b294e

Browse files
Update peewee stubs to v3.16 (#9827)
Bump peewee to 3.16.* Release: https://pypi.org/pypi/peewee/3.16.0 Homepage: https://github.com/coleifer/peewee/ Diff: coleifer/peewee@3.15.4...3.16.0 Stubsabot analysis of the diff between the two releases: - 0 public Python files have been added. - 0 files included in typeshed's stubs have been deleted. - 1 file included in typeshed's stubs has been modified or renamed: `peewee.py`. - Total lines of Python code added: 120. - Total lines of Python code deleted: 90. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 21c9ac5 commit 05b294e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

stubs/peewee/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "3.15.*"
1+
version = "3.16.*"

stubs/peewee/peewee.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ class Database(_callable_context_manager):
771771
sequences: bool
772772
truncate_table: bool
773773
autoconnect: Incomplete
774-
autorollback: Incomplete
775774
thread_safe: Incomplete
776775
connect_params: Incomplete
777776
def __init__(
@@ -798,7 +797,7 @@ class Database(_callable_context_manager):
798797
def is_closed(self): ...
799798
def is_connection_usable(self): ...
800799
def connection(self): ...
801-
def cursor(self, commit: Incomplete | None = ...): ...
800+
def cursor(self, commit: Incomplete | None = None, named_cursor: Incomplete | None = None): ...
802801
def execute_sql(self, sql, params: Incomplete | None = ..., commit=...): ...
803802
def execute(self, query, commit=..., **context_options): ...
804803
def get_context_options(self): ...

0 commit comments

Comments
 (0)