download using requests rather than self.session

This commit is contained in:
Daniel Roth 2026-03-24 08:58:34 +00:00
parent 609468cff9
commit ab40bca32b

View file

@ -120,7 +120,7 @@ class CotalityClient:
return f"{base}{container}/{file_id}?{sas}"
def _download_file(self, url: str, file_name: str) -> None:
r = self.session.get(url)
r = requests.get(url)
r.raise_for_status()
with open(file_name, "wb") as f: