Add an entity to the collection, firing mutation events.
(
self, item: Any, initiator: Optional[AttributeEventToken] = None
)
| 495 | return self._data()._sa_appender |
| 496 | |
| 497 | def append_with_event( |
| 498 | self, item: Any, initiator: Optional[AttributeEventToken] = None |
| 499 | ) -> None: |
| 500 | """Add an entity to the collection, firing mutation events.""" |
| 501 | |
| 502 | self._data()._sa_appender(item, _sa_initiator=initiator) |
| 503 | |
| 504 | def _set_empty(self, user_data): |
| 505 | assert ( |