Whether the index is dirty or not. Dirty indexes are out of sync with column data, so they exist but they are not usable.
(self)
| 183 | |
| 184 | @property |
| 185 | def dirty(self) -> bool: |
| 186 | """Whether the index is dirty or not. |
| 187 | |
| 188 | Dirty indexes are out of sync with column data, so they exist but they |
| 189 | are not usable. |
| 190 | """ |
| 191 | # If there is no ``DIRTY`` attribute, index should be clean. |
| 192 | return getattr(self._v_attrs, "DIRTY", False) |
| 193 | |
| 194 | @dirty.setter |
| 195 | def dirty(self, dirty: bool) -> None: |