def update_luids(obj):
    if isinstance(obj, dict):
        for key in obj:
            value = obj[key]
            if key == 'id':
                obj['id'] = random_luid()
            elif isinstance(value, dict) or isinstance(value, list):
                update_luids(value)
    elif isinstance(obj, list):
        for elem in obj:
            update_luids(elem)
    return obj


# The API client
Makes a variable available everywhere within the scope of the current test.
dataset/ETHPy150Open ravello/testmill/lib/testmill/ravello.py/update_luids--crossover with--dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/libraries/BuiltIn.py/_Variables.set_test_variable