From 6a8223b4d66f0427e03073682e1fcb34036fe6ae Mon Sep 17 00:00:00 2001 From: DiegoHDMGZ Date: Wed, 31 Jan 2024 23:31:30 -0500 Subject: [PATCH] Add `abulk_update` --- django-stubs/db/models/query.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django-stubs/db/models/query.pyi b/django-stubs/db/models/query.pyi index fba695b26..38c372467 100644 --- a/django-stubs/db/models/query.pyi +++ b/django-stubs/db/models/query.pyi @@ -70,6 +70,9 @@ class _BaseQuerySet(Generic[_T], Sized): def bulk_update( self, objs: Iterable[_T], fields: Sequence[str], batch_size: int | None = ... ) -> int: ... + async def abulk_update( + self, objs: Iterable[_T], fields: Sequence[str], batch_size: int | None = ... + ) -> int: ... def get_or_create( self, defaults: MutableMapping[str, Any] | None = ..., **kwargs: Any ) -> tuple[_T, bool]: ...