mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-21 09:08:28 +08:00
12 lines
436 B
Python
12 lines
436 B
Python
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[bool, MagicMock]) -> None: ...
|