(self, state: InstanceState[Any])
| 4291 | return merged |
| 4292 | |
| 4293 | def _validate_persistent(self, state: InstanceState[Any]) -> None: |
| 4294 | if not self.identity_map.contains_state(state): |
| 4295 | raise sa_exc.InvalidRequestError( |
| 4296 | "Instance '%s' is not persistent within this Session" |
| 4297 | % state_str(state) |
| 4298 | ) |
| 4299 | |
| 4300 | def _save_impl(self, state: InstanceState[Any]) -> None: |
| 4301 | if state.key is not None: |
no test coverage detected