Skip to content

Commit 056cf3a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c2b9e1a commit 056cf3a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

openml/_api/resources/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from typing import TYPE_CHECKING, Any
55

66
if TYPE_CHECKING:
7-
from build.lib.openml.tasks.task import TaskType
87
from requests import Response
98

109
from openml._api.http import HTTPClient
@@ -28,7 +27,7 @@ class TasksAPI(ResourceAPI, ABC):
2827
def get(
2928
self,
3029
task_id: int,
31-
download_splits: bool = False, # noqa: FBT001, FBT002
30+
download_splits: bool = False, # noqa: FBT001, FBT002
3231
**get_dataset_kwargs: Any,
3332
) -> OpenMLTask:
3433
"""

openml/tasks/task.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from enum import Enum
99
from pathlib import Path
1010
from typing import TYPE_CHECKING, Any, Sequence
11-
from attr import dataclass
1211
from typing_extensions import TypedDict
1312

1413
import openml._api_calls

0 commit comments

Comments
 (0)