def run(self, edit):
        api = GistApi(self.settings["token"])
        thread = threading.Thread(target=api.delete, args=(self.gist_url, ))
        thread.start()
        ThreadProgress(api, thread, 'Deleting Gist %s' % self.fileName, 
            callback.delete_gist, _callback_options={
                "fileFullName": self.fileFullName
            }
        )
dataset/ETHPy150Open xjsender/HaoGist/main.py/DeleteGist.run/original