def write_file(data):
    with open('requirements_all.txt', 'w+') as req_file:
        req_file.write(data)
Sets the currently-active dashboard and/or panel on the request.
dataset/ETHPy150Open home-assistant/home-assistant/script/gen_requirements_all.py/write_file--crossover with--dataset/ETHPy150Open CiscoSystems/avos/horizon/decorators.py/_current_component