(self, state: InstanceState[Any])
| 4318 | ) |
| 4319 | |
| 4320 | def _contains_state(self, state: InstanceState[Any]) -> bool: |
| 4321 | return state in self._new or self.identity_map.contains_state(state) |
| 4322 | |
| 4323 | def flush(self, objects: Optional[Sequence[Any]] = None) -> None: |
| 4324 | """Flush all the object changes to the database. |
no test coverage detected