(self, state: InstanceState[Any])
| 4474 | ) |
| 4475 | |
| 4476 | def _contains_state(self, state: InstanceState[Any]) -> bool: |
| 4477 | return state in self._new or self.identity_map.contains_state(state) |
| 4478 | |
| 4479 | def flush(self, objects: Optional[Sequence[Any]] = None) -> None: |
| 4480 | """Flush all the object changes to the database. |
no test coverage detected