(user, url, filter_class)
return user_link
filter_class is expected to be either ExpandedMobileWorkerFilter or a
    subclass of it, such as the CaseListFilter
filter_class is expected to be either ExpandedMobileWorkerFilter or a
    subclass of it, such as the CaseListFilter
filter_class is expected to be either ExpandedMobileWorkerFilter or a subclass of it such as the CaseListFilter
def _get_raw_user_link(user, url, filter_class):
    """
    filter_class is expected to be either ExpandedMobileWorkerFilter or a
    subclass of it, such as the CaseListFilter
    """
    user_link_template = '<a href="{link}?{params}">{username}</a>'
    user_link = format_html(
        user_link_template,
        link=url,
        params=urlencode(filter_class.for_user(user.user_id)),
        username=user.username_in_report,
    )
    return user_link
def _get_raw_user_link ( user , url , filter_class ) : user_link_template = '<a href="{link}?{params}">{username}</a>' user_link = format_html ( user_link_template , link = url , params = urlencode ( filter_class . for_user ( user . user_id ) ) , username = user . username_in_report , ) return user_link