Skip to content

Commit d7c6406

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

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

openml/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import webbrowser
55
from abc import ABC, abstractmethod
6-
from typing import Sequence
6+
from collections.abc import Sequence
77

88
import xmltodict
99

openml/setups/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# License: BSD 3-Clause
22
from __future__ import annotations
33

4-
from typing import Any, Sequence
4+
from collections.abc import Sequence
5+
from typing import Any
56

67
import openml.config
78
import openml.flows

openml/tasks/split.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
import pickle
55
from collections import OrderedDict
6+
from collections.abc import Sequence
67
from pathlib import Path
7-
from typing import Any, Sequence
8+
from typing import Any
89
from typing_extensions import NamedTuple
910

1011
import arff # type: ignore

0 commit comments

Comments
 (0)