Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Following PGijsbers proposal to ensure that avoid_duplicate_runs is a…
… boolean after reading it from config_file
  • Loading branch information
BrunoBelucci committed May 13, 2024
commit dbffcac3aa13d47270e6cb71e5505ace3ec5e2fe
2 changes: 1 addition & 1 deletion openml/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _setup(config: _Config | None = None) -> None:
if config is None:
config = _parse_config(config_file)

avoid_duplicate_runs = bool(config.get("avoid_duplicate_runs", False))
avoid_duplicate_runs = config.get("avoid_duplicate_runs", "").lower() == "true"
apikey = config["apikey"]
server = config["server"]
short_cache_dir = Path(config["cachedir"])
Expand Down