(
state: InstanceState[Any],
context: _ORMCompileState,
to_load: Optional[Sequence[str]],
)
| 590 | _load_refresh_handler(state, context, None, is_refresh=False) |
| 591 | |
| 592 | def refresh_handler( |
| 593 | state: InstanceState[Any], |
| 594 | context: _ORMCompileState, |
| 595 | to_load: Optional[Sequence[str]], |
| 596 | ) -> None: |
| 597 | # note this corresponds to sqlalchemy.ext.mutable load_attrs() |
| 598 | |
| 599 | if not to_load or ( |
| 600 | {self.key}.union(self._attribute_keys) |
| 601 | ).intersection(to_load): |
| 602 | _load_refresh_handler(state, context, to_load, is_refresh=True) |
| 603 | |
| 604 | def _load_refresh_handler( |
| 605 | state: InstanceState[Any], |
nothing calls this directly
no test coverage detected