// 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")