def run(self, options={}):
        if "fileName" not in options:
            return

        filename = options["fileName"]
        fileProperty = options["fileProperty"]
        _gist = options["gist"]

        settings = util.get_settings()
        api = GistApi(settings["token"])
        thread = threading.Thread(target=api.retrieve, args=(fileProperty["raw_url"], ))
        thread.start()
        ThreadProgress(api, thread, 'Opening Gist %s' % filename.strip(), 
            callback.open_gist, _callback_options=options
        )
dataset/ETHPy150Open xjsender/HaoGist/main.py/OpenGist.run/original