Run set events. This event always occurs before the collection is actually mutated.
(collection, item, _sa_initiator, key)
| 1092 | |
| 1093 | |
| 1094 | def __set(collection, item, _sa_initiator, key): |
| 1095 | """Run set events. |
| 1096 | |
| 1097 | This event always occurs before the collection is actually mutated. |
| 1098 | |
| 1099 | """ |
| 1100 | |
| 1101 | if _sa_initiator is not False: |
| 1102 | executor = collection._sa_adapter |
| 1103 | if executor: |
| 1104 | item = executor.fire_append_event(item, _sa_initiator, key=key) |
| 1105 | return item |
| 1106 | |
| 1107 | |
| 1108 | def __del(collection, item, _sa_initiator, key): |
no test coverage detected