Skip to content

Commit 145651e

Browse files
remove typing_extensions (#1736)
1 parent c4c6511 commit 145651e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

river/base/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
import types
1111
import typing
1212

13-
import typing_extensions
14-
1513

1614
class Base:
1715
"""Base class that is inherited by the majority of classes in River.
@@ -75,7 +73,7 @@ def _get_params(self) -> dict[str, typing.Any]:
7573

7674
def clone(
7775
self, new_params: dict[str, typing.Any] | None = None, include_attributes: bool = False
78-
) -> typing_extensions.Self:
76+
) -> typing.Self:
7977
"""Return a fresh estimator with the same parameters.
8078
8179
The clone has the same parameters but has not been updated with any data.

0 commit comments

Comments
 (0)