Indicate that the given attribute should be loaded using "lazy" loading. This function is part of the :class:`_orm.Load` interface and supports both method-chained and standalone operation. .. seealso:: :ref:`loading_toplevel` :ref:`lazy_lo
(self, attr: _AttrType)
| 418 | ) |
| 419 | |
| 420 | def lazyload(self, attr: _AttrType) -> Self: |
| 421 | """Indicate that the given attribute should be loaded using "lazy" |
| 422 | loading. |
| 423 | |
| 424 | This function is part of the :class:`_orm.Load` interface and supports |
| 425 | both method-chained and standalone operation. |
| 426 | |
| 427 | .. seealso:: |
| 428 | |
| 429 | :ref:`loading_toplevel` |
| 430 | |
| 431 | :ref:`lazy_loading` |
| 432 | |
| 433 | """ |
| 434 | return self._set_relationship_strategy(attr, {"lazy": "select"}) |
| 435 | |
| 436 | def immediateload( |
| 437 | self, |
no test coverage detected