diff --git a/django-stubs/utils/connection.pyi b/django-stubs/utils/connection.pyi index b6146f117..1a99b09fa 100644 --- a/django-stubs/utils/connection.pyi +++ b/django-stubs/utils/connection.pyi @@ -7,8 +7,8 @@ _T = TypeVar("_T") class ConnectionProxy(Generic[_T]): def __init__(self, connections: BaseConnectionHandler[_T], alias: str) -> None: ... - def __getattr__(self, item: str) -> _T: ... - def __setattr__(self, name: str, value: _T) -> None: ... + def __getattr__(self, item: str) -> Any: ... + def __setattr__(self, name: str, value: Any) -> None: ... def __delattr__(self, name: str) -> None: ... def __contains__(self, key: str) -> bool: ... def __eq__(self, other: object) -> bool: ...