MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / get_confirm_token

Function get_confirm_token

tensorlayer/files/utils.py:1301–1305  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

1299 f.write(chunk)
1300
1301 def get_confirm_token(response):
1302 for key, value in response.cookies.items():
1303 if key.startswith('download_warning'):
1304 return value
1305 return None
1306
1307 URL = "https://docs.google.com/uc?export=download"
1308 session = requests.Session()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…