12de208521da9bf7be6bd9c25551693184c3bd46,loudml/loudml/faker.py,,main,#,123

Before Change


        description=main.__doc__,
        formatter_class=argparse.ArgumentDefaultsHelpFormatter,
    )
    parser.add_argument(
        "-o", "--output",
        type=str,
        choices=["json", "influx", "elastic"],
        default="json",
    )
    parser.add_argument(
        "-a", "--addr",
        help="Output address",
        type=str,

After Change


        try:
            datasource = init_datasource(arg, tags=tags)
        except errors.LoudMLException as exn:
            logging.error(exn)
            return 1

    if arg.shape == "flat":
        ts_generator = FlatEventGenerator(avg=arg.avg)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: regel/loudml
Commit Name: 12de208521da9bf7be6bd9c25551693184c3bd46
Time: 2018-05-25
Author: vianney@redmintnetwork.fr
File Name: loudml/loudml/faker.py
Class Name:
Method Name: main


Project Name: deepdrive/deepdrive
Commit Name: 773f0f4d2f22d76825e7b1f4f900befa384d3ade
Time: 2018-01-28
Author: cquiter@gmail.com
File Name: main.py
Class Name:
Method Name: main


Project Name: fperazzi/proSR
Commit Name: 5662c474b7a16d2ef9cd01670c1c583da2b3d130
Time: 2018-08-08
Author: fperazzi@adobe.com
File Name: train.py
Class Name:
Method Name: parse_args