Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/o/commcare-hq-HEAD/corehq/apps/reports/filters/users.py   commcare-hq(Download)
 
from .. import util
from ..models import HQUserType, HQUserToggle
from .base import (
    BaseDrilldownOptionFilter,
 
        user_type_ids = [int(t[3:]) for t in filter(lambda s: s.startswith("t__"), emws)]
        user_filter = tuple([HQUserToggle(id, id in user_type_ids) for id in range(4)])
        other_users = util.get_all_users_by_domain(domain=domain, user_filter=user_filter, simplified=simplified_users,
                                                   CommCareUser=CommCareUser)