9263a93cf81f3b5db708ae29ad5ae81f26e603fc,studio/completion_service/completion_service.py,CompletionService,__init__,#CompletionService#,28

Before Change


        // Figure out request for resources:
        resources_needed = cs_config.get("resources_needed"),
        self.resources_needed = DEFAULT_RESOURCES_NEEDED
        if self.config.get("resources_needed"):
            self.resources_needed.update(self.config.get("resources_needed"))
        self.resources_needed.update(resources_needed)

After Change


        studio_resources = self.config.get("resources_needed")
        print("ML: {0}".format(repr(studio_resources)))
        if studio_resources:
            self.resources_needed.update(studio_resources)
        print("FINAL: {0}".format(repr(self.resources_needed)))

        // Figure out task queue and cloud we are going to use:
        queue_name = cs_config.get("queue")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: studioml/studio
Commit Name: 9263a93cf81f3b5db708ae29ad5ae81f26e603fc
Time: 2020-04-23
Author: andrei.denissov@cognizant.com
File Name: studio/completion_service/completion_service.py
Class Name: CompletionService
Method Name: __init__


Project Name: comic/grand-challenge.org
Commit Name: 89abc6591174f051cdd0c41701575b29b1820d0a
Time: 2019-05-22
Author: harm.van.zeeland@gmail.com
File Name: app/grandchallenge/retina_importers/views.py
Class Name: SetElementSpacingForImage
Method Name: set_element_spacing


Project Name: oval-group/logger
Commit Name: 0e133ac8f1ff4858e70d9f1888967e456c43211d
Time: 2017-11-20
Author: leonardbj@hotmail.fr
File Name: logger/plotter.py
Class Name: Plotter
Method Name: plot_metric