91e7eb2a61473531cc5dcdd378c8bd5dc03a4554,polyaxon_cli/cli/version.py,,version,#Any#Any#Any#,69

Before Change


    if cli:
        server_version = version_client.get_cli_version()
        version = get_version(PROJECT_CLI_NAME)
        click.echo("Current cli version: {}. \n"
                   "supported cli version {}".format(version, server_version.to_dict()))

    if lib:
        server_version = version_client.get_lib_version()
        version = get_version(PROJECT_LIB_NAME)
        click.echo("Current lib version: {}. \n"
                   "supported lib version {}".format(version, server_version.to_dict()))

    if platform:
        platform_version = version_client.get_platform_version()
        chart_version = version_client.get_chart_version()
        click.echo("You platform version: {}. \n"
                   "supported lib version {}".format(chart_version.to_dict(),
                                                     platform_version.to_dict()))


@click.command()
@click.option("--lib", "-a", is_flag=True, default=False,

After Change


        server_version = version_client.get_cli_version()
        version = get_version(PROJECT_CLI_NAME)
        Printer.print_header("Current cli version: {}.".format(version))
        Printer.print_header("Supported cli version:")
        dict_tabulate(server_version.to_dict())

    if lib:
        server_version = version_client.get_lib_version()
        version = get_version(PROJECT_LIB_NAME)
        Printer.print_header("Current lib version: {}.".format(version))
        Printer.print_header("Supported lib version:")
        dict_tabulate(server_version.to_dict())

    if platform:
        platform_version = version_client.get_platform_version()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: polyaxon/polyaxon
Commit Name: 91e7eb2a61473531cc5dcdd378c8bd5dc03a4554
Time: 2017-12-14
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/version.py
Class Name:
Method Name: version


Project Name: polyaxon/polyaxon
Commit Name: 91e7eb2a61473531cc5dcdd378c8bd5dc03a4554
Time: 2017-12-14
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/version.py
Class Name:
Method Name: version


Project Name: polyaxon/polyaxon
Commit Name: 57a90c815b43fdfa6031597bbafa9fbcbfc00fe6
Time: 2017-12-13
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_cluster_info


Project Name: polyaxon/polyaxon
Commit Name: 57a90c815b43fdfa6031597bbafa9fbcbfc00fe6
Time: 2017-12-13
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_node_info