Method
__init__
(
self,
model: type[MODEL],
update_kwargs: dict[str, Any],
db: BaseDBAsyncClient,
q_objects: list[Q],
annotations: dict[str, Any],
custom_filters: dict[str, FilterInfoDict],
limit: int | None,
orderings: list[tuple[str, str]],
)
Source from the content-addressed store, hash-verified
| 1282 | ) |
| 1283 | |
| 1284 | def __init__( |
| 1285 | self, |
| 1286 | model: type[MODEL], |
| 1287 | update_kwargs: dict[str, Any], |
| 1288 | db: BaseDBAsyncClient, |
| 1289 | q_objects: list[Q], |
| 1290 | annotations: dict[str, Any], |
| 1291 | custom_filters: dict[str, FilterInfoDict], |
| 1292 | limit: int | None, |
| 1293 | orderings: list[tuple[str, str]], |
| 1294 | ) -> None: |
| 1295 | super().__init__(model) |
| 1296 | self.update_kwargs = update_kwargs |
| 1297 | self._q_objects = q_objects |
| 1298 | self._annotations = annotations |
| 1299 | self._custom_filters = custom_filters |
| 1300 | self._db = db |
| 1301 | self._limit = limit |
| 1302 | self._orderings = orderings |
| 1303 | |
| 1304 | def _make_query(self) -> None: |
| 1305 | table = self.model._meta.basetable |
Callers
nothing calls this directly
Tested by
no test coverage detected