@lru_cache(maxsize=20000)
def load_user_info(user_name, session):
    logger.debug("Getting info for {0}".format(user_name))
    res = session.get(action='query', list='users', ususers=user_name,
                       usprop='groups|editcount')
    user_data = res["query"]["users"][0]
    if user_data in 'missing':
        return User(user_name, 0, set())
    return User(user_data["userid"], user_data['editcount'],
                set(user_data["groups"]))
dataset/ETHPy150Open wiki-ai/editquality/editquality/utilities/extract_damaging.py/load_user_info/swapped operands of `in`