def METHOD_NAME(period):
    """Sends all reports for the given period
    Supported periods are in the ReportSubscription class
    """
    report_types = [t for t, _ in ReportSubscription.TYPES]
    for report_type in report_types:
        _logger.debug('Sending reports for period %s, type %s', period, report_type)
        subscriptions = ReportSubscription.objects.filter(
            period=period, report_type=report_type
        )
        for subscription in subscriptions:
            report = build_report(period, report_type, subscription.exclude_maintenance)
            send_report(report, subscription.address.address)
        _logger.info(
            '%s %s availability: Sent %s reports',
            period,
            report_type,
            subscriptions.count(),
        )