From 05b294e911b30d503d29982ac53649e012ba8424 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 00:46:57 +0000 Subject: [PATCH] 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: https://github.com/coleifer/peewee/compare/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 --- stubs/peewee/METADATA.toml | 2 +- stubs/peewee/peewee.pyi | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stubs/peewee/METADATA.toml b/stubs/peewee/METADATA.toml index 6b010cfb6..c1f03f2c7 100644 --- a/stubs/peewee/METADATA.toml +++ b/stubs/peewee/METADATA.toml @@ -1 +1 @@ -version = "3.15.*" +version = "3.16.*" diff --git a/stubs/peewee/peewee.pyi b/stubs/peewee/peewee.pyi index b6dc30e23..0cae84ca8 100644 --- a/stubs/peewee/peewee.pyi +++ b/stubs/peewee/peewee.pyi @@ -771,7 +771,6 @@ class Database(_callable_context_manager): sequences: bool truncate_table: bool autoconnect: Incomplete - autorollback: Incomplete thread_safe: Incomplete connect_params: Incomplete def __init__( @@ -798,7 +797,7 @@ class Database(_callable_context_manager): def is_closed(self): ... def is_connection_usable(self): ... def connection(self): ... - def cursor(self, commit: Incomplete | None = ...): ... + def cursor(self, commit: Incomplete | None = None, named_cursor: Incomplete | None = None): ... def execute_sql(self, sql, params: Incomplete | None = ..., commit=...): ... def execute(self, query, commit=..., **context_options): ... def get_context_options(self): ...