def sync_entities_watching(instance):
for entity_model, entity_model_getter in entity_registry.entity_watching[instance.__class__]:<EOL><INDENT>model_objs = list(entity_model_getter(instance))<EOL>if model_objs:<EOL><INDENT>sync_entities(*model_objs)<EOL><DEDENT><DEDENT>
Syncs entities watching changes of a model instance.