(
self, state, child, associationrow, clearkeys, uowcommit, pks_changed
)
| 614 | ) |
| 615 | |
| 616 | def _synchronize( |
| 617 | self, state, child, associationrow, clearkeys, uowcommit, pks_changed |
| 618 | ): |
| 619 | source = state |
| 620 | dest = child |
| 621 | self._verify_canload(child) |
| 622 | if dest is None or ( |
| 623 | not self.post_update and uowcommit.is_deleted(dest) |
| 624 | ): |
| 625 | return |
| 626 | if clearkeys: |
| 627 | sync._clear(dest, self.mapper, self.prop.synchronize_pairs) |
| 628 | else: |
| 629 | sync._populate( |
| 630 | source, |
| 631 | self.parent, |
| 632 | dest, |
| 633 | self.mapper, |
| 634 | self.prop.synchronize_pairs, |
| 635 | uowcommit, |
| 636 | self.passive_updates and pks_changed, |
| 637 | ) |
| 638 | |
| 639 | def _pks_changed(self, uowcommit, state): |
| 640 | return sync._source_modified( |
no test coverage detected