Skip to content

Commit

Permalink
Add abulk_update
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoHDMGZ committed Feb 1, 2024
1 parent 6eeb38e commit 6a8223b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions django-stubs/db/models/query.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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]: ...
Expand Down

0 comments on commit 6a8223b

Please sign in to comment.