mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-08-31 11:57:01 +08:00
initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from django.db.backends.sqlite3.base import DatabaseWrapper
|
||||
from typing import (
|
||||
Any,
|
||||
Union,
|
||||
)
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
|
||||
def close_old_connections(**kwargs) -> None: ...
|
||||
|
||||
|
||||
def reset_queries(**kwargs) -> None: ...
|
||||
|
||||
|
||||
class DefaultConnectionProxy:
|
||||
def __eq__(self, other: DatabaseWrapper) -> bool: ...
|
||||
def __getattr__(self, item: str) -> Any: ...
|
||||
def __setattr__(self, name: str, value: Union[MagicMock, bool]) -> None: ...
|
||||
Reference in New Issue
Block a user