e3d577b5595af3e1c9a05d3be84dbdf1a7c4aa20,nilearn/datasets/neurovault.py,,_get_batch,#Any#Any#Any#Any#,962
Before Change
urllib.error.HTTPError is a subclass of URLError.
request = Request(query)
request.add_header("Connection", "Keep-Alive")
opener = build_opener()
_print_if("{0}getting new batch: {1}".format(
prefix_msg, query), _DEBUG, verbose)
After Change
session = _requests_session()
req = requests.Request(
method="GET", url=query, headers={"Connection": "Keep-Alive"})
prepped = session.prepare_request(req)
_print_if("{0}getting new batch: {1}".format(
prefix_msg, query), _DEBUG, verbose)
try:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: nilearn/nilearn
Commit Name: e3d577b5595af3e1c9a05d3be84dbdf1a7c4aa20
Time: 2020-07-29
Author: jerome@dockes.org
File Name: nilearn/datasets/neurovault.py
Class Name:
Method Name: _get_batch
Project Name: ilastik/ilastik
Commit Name: 8822631fcc8531f63e3b4f6e0b294432d90d7d70
Time: 2017-04-07
Author: jimmycc80@hotmail.com
File Name: ilastik/applets/objectClassification/objectClassificationGui.py
Class Name: LabelAssistDialog
Method Name: _triggerTableUpdate
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 4a251779251da3f1a114318c374b1458f6479025
Time: 2020-07-29
Author: anassri@google.com
File Name: functions/slack/main_test.py
Class Name: TestGCFPySlackSample
Method Name: test_verify_signature_token_incorrect