(self, uowcommit, states)
| 809 | ) |
| 810 | |
| 811 | def process_saves(self, uowcommit, states): |
| 812 | for state in states: |
| 813 | history = uowcommit.get_attribute_history( |
| 814 | state, self.key, attributes.PASSIVE_NO_INITIALIZE |
| 815 | ) |
| 816 | if history: |
| 817 | if history.added: |
| 818 | for child in history.added: |
| 819 | self._synchronize( |
| 820 | state, child, None, False, uowcommit, "add" |
| 821 | ) |
| 822 | elif history.deleted: |
| 823 | self._synchronize( |
| 824 | state, None, None, True, uowcommit, "delete" |
| 825 | ) |
| 826 | if self.post_update: |
| 827 | self._post_update(state, uowcommit, history.sum()) |
| 828 | |
| 829 | def _synchronize( |
| 830 | self, |
nothing calls this directly
no test coverage detected