(
self,
primary_key_identity: _PKIdentityArgument,
db_load_fn: Callable[..., Any],
identity_token: Optional[Any] = None,
)
| 1139 | return self._get_impl(ident, loading._load_on_pk_identity) |
| 1140 | |
| 1141 | def _get_impl( |
| 1142 | self, |
| 1143 | primary_key_identity: _PKIdentityArgument, |
| 1144 | db_load_fn: Callable[..., Any], |
| 1145 | identity_token: Optional[Any] = None, |
| 1146 | ) -> Optional[Any]: |
| 1147 | mapper = self._only_full_mapper_zero(class="st">"get") |
| 1148 | return self.session._get_impl( |
| 1149 | mapper, |
| 1150 | primary_key_identity, |
| 1151 | db_load_fn, |
| 1152 | populate_existing=self.load_options._populate_existing, |
| 1153 | with_for_update=self._for_update_arg, |
| 1154 | options=self._with_options, |
| 1155 | identity_token=identity_token, |
| 1156 | execution_options=self._execution_options, |
| 1157 | ) |
| 1158 | |
| 1159 | @property |
| 1160 | def lazy_loaded_from(self) -> Optional[InstanceState[Any]]: |
no test coverage detected