MCPcopy
hub / github.com/astral-sh/python-build-standalone / IntegrityError

Class IntegrityError

pythonbuild/utils.py:257–262  ·  view source on GitHub ↗

Represents an integrity error when downloading a URL.

Source from the content-addressed store, hash-verified

255
256
257class IntegrityError(Exception):
258 """Represents an integrity error when downloading a URL."""
259
260 def __init__(self, *args, length: int):
261 self.length = length
262 super().__init__(*args)
263
264
265def secure_download_stream(url, size, sha256):

Callers 1

secure_download_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected