

@property
def filter_context(self):
    (toggle, show_filter) = self.get_user_filter(self.request)
    return {
        'show_user_filter': show_filter,
        'toggle_users': toggle,
    }

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/filters/users.py UserTypeFilter.filter_context/original