def _get_js_role(role):
    roles = {
        ROLE_OWNER: 'owner',
        ROLE_VIEWER: 'viewer',
        ROLE_MEMBER: 'member',
    }
    return roles.get(role, 'viewer')
Install a timer, which calls fun after t milliseconds.
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/views/accounts.py/_get_js_role--crossover with--dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/site-packages/turtle.py/TurtleScreen.ontimer