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

Method __await__

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

Source from the content-addressed store, hash-verified

1441 self.query = self.query.use_index(*self._use_indexes)
1442
1443 def __await__(self) -> Generator[Any, None, bool]:
1444 self._choose_db_if_not_chosen()
1445 self._make_query()
1446 return self._execute().__await__()
1447
1448 async def _execute(
1449 self,

Callers

nothing calls this directly

Calls 4

_make_queryMethod · 0.95
_executeMethod · 0.95
__await__Method · 0.45

Tested by

no test coverage detected