6179069f9dcfb76338bf3667e649133745757876,studio/runner.py,,main,#Any#,27

Before Change


            if runner_args.queue is None:
                runner_args.queue = "gcloud_" + str(uuid.uuid4())

            if not runner_args.queue.startswith("gcloud_"):
                runner_args.queue = "gcloud_" + runner_args.queue

            queue = PubsubQueue(runner_args.queue, verbose=verbose)
            worker_manager = GCloudWorkerManager(
                auth_cookie=auth_cookie,
                zone=config["cloud"]["zone"]

After Change


                runner_args.cloud == "ec2" or
                runner_args.cloud == "ec2spot")

        assert runner_args.queue is None, \
                "--queue argument cannot be provided with --cloud argument"
        auth_cookie = None if config["database"].get("guest") \
            else os.path.join(
            auth.token_dir,
            config["database"]["apiKey"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: studioml/studio
Commit Name: 6179069f9dcfb76338bf3667e649133745757876
Time: 2017-08-04
Author: peter.zhokhov@sentient.ai
File Name: studio/runner.py
Class Name:
Method Name: main


Project Name: theislab/scanpy
Commit Name: 5a2003ad9d760752dad9afe413528c39005500bb
Time: 2019-04-16
Author: flying-sheep@web.de
File Name: scanpy/tests/test_docs.py
Class Name:
Method Name: test_function_headers


Project Name: quiltdata/quilt
Commit Name: b4cb0c14ebf600daa5573bc90a419eb24329eb55
Time: 2019-06-05
Author: aleksey@residentmar.io
File Name: api/python/quilt3/packages.py
Class Name: Package
Method Name: push


Project Name: tensorflow/transform
Commit Name: 4bf19837a0df0c7c8e7bd3f3c6a55ddd62e30c6b
Time: 2018-04-30
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/saved/saved_transform_io.py
Class Name:
Method Name: _partially_apply_saved_transform_impl