File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,10 @@ def run_model_on_task( # noqa: PLR0913
111111 avoid_duplicate_runs = openml .config .avoid_duplicate_runs
112112 if avoid_duplicate_runs and openml .config .apikey is None :
113113 warnings .warn (
114- "The 'avoid_duplicate_runs' parameter is set to True, but no API key is configured. "
115- "Duplicate runs cannot be checked server-side without authentication. "
116- "The run will proceed, but duplicates may be created." ,
114+ "The 'avoid_duplicate_runs' parameter is set to True, but no API key is configured. "
115+ "Duplicate runs cannot be checked server-side without authentication. "
116+ "Please set your API key (see http://openml.github.io/openml-python/latest/examples/Basics/introduction_tutorial/). "
117+ "The run will proceed, but duplicates may be created." ,
117118 UserWarning ,
118119 stacklevel = 2 ,
119120 )
You can’t perform that action at this time.
0 commit comments