36ec6861e32caa20c5843d735363e8329576eb4d,openml/tasks/functions.py,,get_task,#Any#,213
Before Change
lock_path=os.path.join(config.get_cache_directory(), "locks"),
):
try:
with io.open(xml_file, encoding="utf8") as fh:
task = _create_task_from_xml(fh.read())
except (OSError, IOError):
task_xml = _perform_api_call("task/%d" % task_id)
with io.open(xml_file, "w", encoding="utf8") as fh:
After Change
except Exception as e:
_remove_task_cache_dir(tid_cache_dir)
raise e
return task
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: openml/openml-python
Commit Name: 36ec6861e32caa20c5843d735363e8329576eb4d
Time: 2017-10-09
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/tasks/functions.py
Class Name:
Method Name: get_task
Project Name: tensorflow/tensorboard
Commit Name: aebedd6592a7e76e6e800b698832704e140ccaad
Time: 2021-03-19
Author: github@wchargin.com
File Name: tensorboard/data/server_ingester.py
Class Name: SubprocessServerDataIngester
Method Name: start
Project Name: riga/tfdeploy
Commit Name: 2984beef3784e514a7b8512ab0e658ad01e86564
Time: 2016-03-11
Author: marcelrieger@me.com
File Name: setup.py
Class Name:
Method Name:
Project Name: pantsbuild/pants
Commit Name: 24d8a1652b3bf99115c67ba9f47e06b172fe8e00
Time: 2015-10-09
Author: john.sirois@gmail.com
File Name: src/python/pants/engine/exp/mapper.py
Class Name: AddressMap
Method Name: parse
Project Name: studioml/studio
Commit Name: bb6b2d059ad7b8a231d9f8015b41e60f033eaf76
Time: 2017-08-04
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name:
Method Name: get_config