

@property
@memoized
def static_options(self):
    static_options = [('t__0', _('[All mobile workers]'))]
    types = ['DEMO_USER', 'ADMIN', 'UNKNOWN']
    if Domain.get_by_name(self.domain).commtrack_enabled:
        types.append('COMMTRACK')
    for t in types:
        user_type = getattr(HQUserType, self)
        static_options.append(self.user_type_tuple(user_type))
    return static_options

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/filters/users.py EmwfUtils.static_options/VarMisuse@74/113 `t`->`self`