fa102eb10a2e2788f3e3b1dbd8471391e3435f9c,polyaxon_cli/cli/cluster.py,,get_node_info,#Any#,26

Before Change


    Printer.print_header("Node info:")
    dict_tabulate(node)

    gpus_items = list_dicts_to_tabulate(gpus)

    if gpus_items:
        Printer.print_header("Node GPUs:")
        gpus_items.pop("cluster_node")

After Change


    Printer.print_header("Node info:")
    dict_tabulate(node)

    gpus_items = list_dicts_to_tabulate([gpu.to_light_dict() for gpu in node_config.gpus])

    if gpus_items:
        Printer.print_header("Node GPUs:")
        dict_tabulate(gpus_items, is_list_dict=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: polyaxon/polyaxon
Commit Name: fa102eb10a2e2788f3e3b1dbd8471391e3435f9c
Time: 2018-01-11
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_node_info


Project Name: polyaxon/polyaxon
Commit Name: fa102eb10a2e2788f3e3b1dbd8471391e3435f9c
Time: 2018-01-11
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_cluster_info


Project Name: polyaxon/polyaxon
Commit Name: f3b15cde79cfe520c5b6989c30febf5a2280b827
Time: 2017-12-21
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/experiment_group.py
Class Name:
Method Name: experiments


Project Name: polyaxon/polyaxon
Commit Name: f3b15cde79cfe520c5b6989c30febf5a2280b827
Time: 2017-12-21
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/project.py
Class Name:
Method Name: experiments