@receiver(post_save, sender=Node, dispatch_uid='<STR_LIT>')<EOL>def save_external_nodes(sender, **kwargs):
node = kwargs['<STR_LIT>']<EOL>operation = '<STR_LIT>' if kwargs['<STR_LIT>'] is True else '<STR_LIT>'<EOL>if node.layer.is_external is False or not hasattr(node.layer, '<STR_LIT>') or node.layer.external.synchronizer_path is None:<EOL><INDENT>return False<EOL><DEDENT>push_changes_to_external_layers.delay(node=node, external_layer=node.layer.external, operation=operation)<EOL>
sync by creating nodes in external layers when needed