mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 18:42:07 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -151,6 +151,7 @@ class Connection:
|
||||
def create_function(self, name: str, narg: int, func: Any, *, deterministic: bool = ...) -> None: ...
|
||||
else:
|
||||
def create_function(self, name: str, num_params: int, func: Any) -> None: ...
|
||||
|
||||
def cursor(self, cursorClass: type | None = ...) -> Cursor: ...
|
||||
def execute(self, sql: str, parameters: Iterable[Any] = ...) -> Cursor: ...
|
||||
# TODO: please check in executemany() if seq_of_parameters type is possible like this
|
||||
@@ -178,6 +179,7 @@ class Connection:
|
||||
name: str = ...,
|
||||
sleep: float = ...,
|
||||
) -> None: ...
|
||||
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, t: type | None, exc: BaseException | None, tb: Any | None) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user