diff --git a/django-stubs/db/backends/utils.pyi b/django-stubs/db/backends/utils.pyi index 4b01949..4a377cb 100644 --- a/django-stubs/db/backends/utils.pyi +++ b/django-stubs/db/backends/utils.pyi @@ -7,7 +7,7 @@ from uuid import UUID logger: Any # Python types that can be adapted to SQL. -_SQLType = Union[None, bool, int, float, Decimal, str, bytes, datetime, UUID] +_SQLType = Union[None, bool, int, float, Decimal, str, bytes, date, datetime, UUID, Tuple[Any, ...], List[Any]] _ExecuteParameters = Optional[Union[Sequence[_SQLType], Mapping[str, _SQLType]]] class CursorWrapper: @@ -16,7 +16,7 @@ class CursorWrapper: def __init__(self, cursor: Any, db: Any) -> None: ... WRAP_ERROR_ATTRS: Any = ... def __getattr__(self, attr: str) -> Any: ... - def __iter__(self) -> None: ... + def __iter__(self) -> Iterator[Tuple[Any, ...]]: ... def __enter__(self) -> CursorWrapper: ... def __exit__( self,