@@ -80,7 +80,7 @@ def get(
8080 """
8181 path = f"data/{ dataset_id } "
8282 try :
83- response = self ._http .get (path , use_cache = True , reset_cache = force_refresh_cache )
83+ response = self ._http .get (path , enable_cache = True , refresh_cache = force_refresh_cache )
8484 xml_content = response .text
8585 description = xmltodict .parse (xml_content )["oml:data_set_description" ]
8686
@@ -464,7 +464,7 @@ def get_features(self, dataset_id: int) -> dict[int, OpenMLDataFeature]:
464464 dict[int, OpenMLDataFeature]
465465 """
466466 path = f"data/features/{ dataset_id } "
467- xml = self ._http .get (path , use_cache = True ).text
467+ xml = self ._http .get (path , enable_cache = True ).text
468468
469469 return self ._parse_features_xml (xml )
470470
@@ -482,7 +482,7 @@ def get_qualities(self, dataset_id: int) -> dict[str, float] | None:
482482 """
483483 path = f"data/qualities/{ dataset_id !s} "
484484 try :
485- xml = self ._http .get (path , use_cache = True ).text
485+ xml = self ._http .get (path , enable_cache = True ).text
486486 except OpenMLServerException as e :
487487 if e .code == 362 and str (e ) == "No qualities found - None" :
488488 # quality file stays as None
@@ -923,7 +923,7 @@ def get(
923923 """
924924 path = f"datasets/{ dataset_id } "
925925 try :
926- response = self ._http .get (path , use_cache = True , reset_cache = force_refresh_cache )
926+ response = self ._http .get (path , enable_cache = True , refresh_cache = force_refresh_cache )
927927 json_content = response .json ()
928928 features_file = None
929929 qualities_file = None
@@ -1183,7 +1183,7 @@ def get_features(self, dataset_id: int) -> dict[int, OpenMLDataFeature]:
11831183 Dictionary mapping feature index to OpenMLDataFeature.
11841184 """
11851185 path = f"datasets/features/{ dataset_id } "
1186- json = self ._http .get (path , use_cache = True ).json ()
1186+ json = self ._http .get (path , enable_cache = True ).json ()
11871187
11881188 return self ._parse_features_json (json )
11891189
@@ -1202,7 +1202,7 @@ def get_qualities(self, dataset_id: int) -> dict[str, float] | None:
12021202 """
12031203 path = f"datasets/qualities/{ dataset_id !s} "
12041204 try :
1205- qualities_json = self ._http .get (path , use_cache = True ).json ()
1205+ qualities_json = self ._http .get (path , enable_cache = True ).json ()
12061206 except OpenMLServerException as e :
12071207 if e .code == 362 and str (e ) == "No qualities found - None" :
12081208 logger .warning (f"No qualities found for dataset { dataset_id } " )
0 commit comments