()
return _make_slug_filter_consumer(
        "source", MessagingEvent.SOURCE_SLUGS, "parent__source__in", expansions
    )
source=<SOURCE SLUG>
source=<SOURCE SLUG>
source = <SOURCE SLUG >
def _get_source_filter_consumer():
    """source=<SOURCE SLUG>"""
    # match functionality in corehq.apps.reports.standard.sms.MessagingEventsReport.get_filters
    expansions = {
        MessagingEvent.SOURCE_OTHER: [MessagingEvent.SOURCE_FORWARDED],
        MessagingEvent.SOURCE_BROADCAST: [
            MessagingEvent.SOURCE_SCHEDULED_BROADCAST,
            MessagingEvent.SOURCE_IMMEDIATE_BROADCAST
        ],
        MessagingEvent.SOURCE_REMINDER: [MessagingEvent.SOURCE_CASE_RULE]
    }
    return _make_slug_filter_consumer(
        "source", MessagingEvent.SOURCE_SLUGS, "parent__source__in", expansions
    )
def _get_source_filter_consumer ( ) : # match functionality in corehq.apps.reports.standard.sms.MessagingEventsReport.get_filters expansions = { MessagingEvent . SOURCE_OTHER : [ MessagingEvent . SOURCE_FORWARDED ] , MessagingEvent . SOURCE_BROADCAST : [ MessagingEvent . SOURCE_SCHEDULED_BROADCAST , MessagingEvent . SOURCE_IMMEDIATE_BROADCAST ] , MessagingEvent . SOURCE_REMINDER : [ MessagingEvent . SOURCE_CASE_RULE ] } return _make_slug_filter_consumer ( "source" , MessagingEvent . SOURCE_SLUGS , "parent__source__in" , expansions )