mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-14 15:57:08 +08:00
more cleanups
This commit is contained in:
@@ -8,7 +8,7 @@ logger: Any
|
||||
|
||||
class CursorWrapper:
|
||||
cursor: django.db.backends.sqlite3.base.SQLiteCursorWrapper = ...
|
||||
db: django.db.backends.sqlite3.base.DatabaseWrapper = ...
|
||||
db: Any = ...
|
||||
def __init__(self, cursor: SQLiteCursorWrapper, db: DatabaseWrapper) -> None: ...
|
||||
WRAP_ERROR_ATTRS: Any = ...
|
||||
def __getattr__(self, attr: str) -> Union[Callable, Tuple[Tuple[str, None, None, None, None, None, None]], int]: ...
|
||||
@@ -25,7 +25,7 @@ class CursorWrapper:
|
||||
|
||||
class CursorDebugWrapper(CursorWrapper):
|
||||
cursor: django.db.backends.sqlite3.base.SQLiteCursorWrapper
|
||||
db: django.db.backends.sqlite3.base.DatabaseWrapper
|
||||
db: Any
|
||||
def execute(self, sql: str, params: Optional[Union[List[str], Tuple]] = ...) -> Any: ...
|
||||
def executemany(self, sql: str, param_list: Iterator[Any]) -> Any: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user