Add or restore an entity to the collection, firing no events.
(self, item: Any)
| 524 | ) |
| 525 | |
| 526 | def append_without_event(self, item: Any) -> None: |
| 527 | """Add or restore an entity to the collection, firing no events.""" |
| 528 | |
| 529 | if self.empty: |
| 530 | self._refuse_empty() |
| 531 | self._data()._sa_appender(item, _sa_initiator=False) |
| 532 | |
| 533 | def append_multiple_without_event(self, items: Iterable[Any]) -> None: |
| 534 | """Add or restore an entity to the collection, firing no events.""" |