We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541b0f2 commit acb173fCopy full SHA for acb173f
1 file changed
openml/_api/clients/http.py
@@ -651,13 +651,13 @@ def request( # noqa: PLR0913, C901
651
# otherwise an exception would have been raised before
652
response = cast("Response", response)
653
654
+ if md5_checksum is not None:
655
+ self._verify_checksum(response, md5_checksum)
656
+
657
if use_cache and self.cache is not None:
658
cache_key = self.cache.get_key(url, params)
659
self.cache.save(cache_key, response)
660
- if md5_checksum is not None:
- self._verify_checksum(response, md5_checksum)
-
661
return response
662
663
def _verify_checksum(self, response: Response, md5_checksum: str) -> None:
0 commit comments