Skip to content

Commit 0178ee0

Browse files
committed
remove the api key requirement tag key
1 parent 176002c commit 0178ee0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

openml/_api/resources/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def get(
4646
path,
4747
enable_cache=True,
4848
refresh_cache=reset_cache,
49-
use_api_key=True,
5049
)
5150
xml_content = response.text
5251
return openml.runs.functions._create_run_from_xml(xml_content)
@@ -117,7 +116,7 @@ def list( # type: ignore[valid-type] # noqa: PLR0913
117116
display_errors=display_errors,
118117
task_type=task_type,
119118
)
120-
xml_string = self._http.get(path, use_api_key=True).text
119+
xml_string = self._http.get(path).text
121120
return self._parse_list_xml(xml_string)
122121

123122
def _build_url( # noqa: PLR0913, C901

0 commit comments

Comments
 (0)