Remove sqlite3/dbapi2.pyi from pyright excludelist (#9148)

This commit is contained in:
Nikita Sobolev
2022-11-11 15:00:19 +03:00
committed by GitHub
parent bc0fc1bfc0
commit 0f33721c52
2 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
import sqlite3
import sys
from _typeshed import ReadableBuffer, Self, StrOrBytesPath, SupportsLenAndGetItem
from _typeshed import Incomplete, ReadableBuffer, Self, StrOrBytesPath, SupportsLenAndGetItem
from collections.abc import Callable, Generator, Iterable, Iterator, Mapping
from datetime import date, datetime, time
from types import TracebackType
@@ -227,9 +227,9 @@ else:
if sys.version_info < (3, 8):
class Cache:
def __init__(self, *args, **kwargs) -> None: ...
def display(self, *args, **kwargs) -> None: ...
def get(self, *args, **kwargs) -> None: ...
def __init__(self, *args: Incomplete, **kwargs: object) -> None: ...
def display(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
def get(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
class _AggregateProtocol(Protocol):
def step(self, __value: int) -> object: ...
@@ -437,7 +437,7 @@ if sys.version_info >= (3, 8):
else:
@final
class Statement:
def __init__(self, *args, **kwargs): ...
def __init__(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
_Statement: TypeAlias = Statement
class Warning(Exception): ...