def send_alerts(): load_dotenv() alerts = Alert.all() for alert in alerts: alert.load_report_details() alert.notify_if_limit_reached() alert.json()