def handle(self, *args, **kwargs): c = CollectorAPI() c.aggregate_past_periods()
def handle(self, *args, **kwargs): # Exit early if MONITORING_ENABLED=False if not settings.MONITORING_ENABLED: return c = CollectorAPI() c.aggregate_past_periods()