

def pre_delete(self, sender, instance, **kwargs):
    '\n        This function gets called when a signal in ``self.rate_signals`` is\n        fired from one of the rated model.\n\n        Overriding this method is optional. The default method removes the\n        suggestions for the deleted objected.\n\n        See :doc:`signals`.\n        '
    remove_similarities.delay(rated_model=model_path(kwargs), object_id=instance.id)
    remove_suggestions.delay(rated_model=model_path(sender), object_id=instance.id)

dataset/ETHPy150Open fcurella/django-recommends/recommends/providers/__init__.py RecommendationProvider.pre_delete/VarMisuse@27/135 `sender`->`kwargs`