コード例 #1
0
def apply_prefs(options):
    set_http_session(get_defaults={
        "timeout": options['http_timeout'],
        "verify": patch_requests.cacert_path()
    })
コード例 #2
0
 def run(self):
     data = retry_get(self.GITHUB_LATEST_RELEASE_URL,
                      verify=cacert_path()).json()
     self.tag_name = data['tag_name']
     self.release_url = data['html_url']
コード例 #3
0
def apply_prefs(options):
    set_http_session(get_defaults={
        "timeout": options['http_timeout'],
        "verify": patch_requests.cacert_path()
    })
 def run(self):
     data = retry_get(self.GITHUB_LATEST_RELEASE_URL,
                      verify=cacert_path()).json()
     self.tag_name = data['tag_name']
     self.release_url = data['html_url']