diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index 0f0664062af498716eb4edb52d911ea185d05b08..b3195a7ad8d5b62d321b07118fbd0b0376ccbdaa 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -775,7 +775,7 @@ class Crawler(object): pass @staticmethod - def execute_parent_updates_in_list(to_be_updated): + def execute_parent_updates_in_list(to_be_updated, securityMode, run_id, unique_names): """ Execute the updates of changed parents. @@ -896,9 +896,8 @@ class Crawler(object): self.remove_unnecessary_updates(to_be_updated, identified_records) if commit_changes: - # TODO: Currently, this mitigation for parent updates does not implement security mode and run id - self.execute_parent_updates_in_list(to_be_updated) - + self.execute_parent_updates_in_list(to_be_updated, securityMode=self.securityMode, + run_id=self.run_id, unique_names=unique_names) self.execute_inserts_in_list( to_be_inserted, self.securityMode, self.run_id, unique_names=unique_names) self.execute_updates_in_list(