Skip to content

Commit e21338f

Browse files
Fix: Update warning message formatting for API key documentation link
1 parent 2650754 commit e21338f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openml/runs/functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ def run_model_on_task( # noqa: PLR0913
111111
warnings.warn(
112112
"The 'avoid_duplicate_runs' parameter is set to True, but no API key is configured. "
113113
"Duplicate runs cannot be checked server-side without authentication. "
114-
"Please set your API key (see http://openml.github.io/openml-python/latest/examples/Basics/introduction_tutorial/). "
114+
"Please set your API key "
115+
"http://openml.github.io/openml-python/latest/examples/Basics/introduction_tutorial/."
115116
"The run will proceed, but duplicates may be created.",
116117
UserWarning,
117118
stacklevel=2,

0 commit comments

Comments
 (0)