Skip to content

Commit d56ece4

Browse files
refactor docu link
1 parent c517a80 commit d56ece4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openml/_api_calls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
FILE_ELEMENTS_TYPE = Dict[str, Union[str, Tuple[str, str]]]
3838
DATABASE_CONNECTION_ERRCODE = 107
3939

40-
API_TOKEN_HELP_LINK = "https://openml.github.io/openml-python/main/examples/20_basic/introduction_tutorial.html#authentication" # noqa: S105
40+
API_TOKEN_HELP_LINK = "https://openml.github.io/openml-python/latest/examples/Basics/introduction_tutorial/#authentication" # noqa: S105
4141

4242

4343
def _robot_delay(n: int) -> float:
@@ -519,7 +519,7 @@ def __parse_server_exception(
519519
msg = (
520520
f"The API call {url} requires authentication via an API key.\nPlease configure "
521521
"OpenML-Python to use your API as described in this example:"
522-
"\nhttps://openml.github.io/openml-python/main/examples/Basics/introduction_tutorial.html#authentication"
522+
"\nhttps://openml.github.io/openml-python/latest/examples/Basics/introduction_tutorial/#authentication"
523523
)
524524
return OpenMLNotAuthorizedError(message=msg)
525525

0 commit comments

Comments
 (0)