80e4f15860b6b002f2dd3f420eaeff63e202eb2f,numerapi/numerapi.py,NumerAPI,upload_predictions,#NumerAPI#Any#,375

Before Change


        sub_res = requests.post(sub_url, data=sub_data, headers=headers)
        sub_res.raise_for_status()

        return True

After Change


            }
            """
        variables = {"filename": submission_auth["filename"]}
        create = self._call(create_query, variables, authorization=True)
        self.submission_id = create["data"]["create_submission"]["id"]
        return self.submission_id
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: uuazed/numerapi
Commit Name: 80e4f15860b6b002f2dd3f420eaeff63e202eb2f
Time: 2017-11-18
Author: wolfgang@steitz.me
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: upload_predictions


Project Name: lufficc/SSD
Commit Name: 685250f5ee3ba20f6dd796a6730c9e8a0b450064
Time: 2019-06-25
Author: luffy.lcc@gmail.com
File Name: ssd/structures/container.py
Class Name: Container
Method Name: numpy


Project Name: lufficc/SSD
Commit Name: 685250f5ee3ba20f6dd796a6730c9e8a0b450064
Time: 2019-06-25
Author: luffy.lcc@gmail.com
File Name: ssd/structures/container.py
Class Name: Container
Method Name: to