def rule_updated(rule):
    availability_models.AvailabilitySlot.objects.update_slots(
        rule.groundstation,
        rule_models.AvailabilityRule.objects.get_availability_slots(
            rule.groundstation
        )
    )


# noinspection PyUnusedLocal
Common handler to be invoked whenever any of the different rules is
dataset/ETHPy150Open satnet-project/server/services/scheduling/signals/availability.py/rule_updated