MCPcopy
hub / github.com/tortoise/tortoise-orm / __await__

Method __await__

tortoise/queryset.py:1913–1915  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1911 return instance_list
1912
1913 def __await__(self) -> Generator[Any, None, list[MODEL]]:
1914 self._choose_db_if_not_chosen()
1915 return self._execute().__await__()
1916
1917
1918class BulkUpdateQuery(UpdateQuery, Generic[MODEL]):

Callers

nothing calls this directly

Calls 3

_executeMethod · 0.95
__await__Method · 0.45

Tested by

no test coverage detected