We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c6511 commit 145651eCopy full SHA for 145651e
river/base/base.py
@@ -10,8 +10,6 @@
10
import types
11
import typing
12
13
-import typing_extensions
14
-
15
16
class Base:
17
"""Base class that is inherited by the majority of classes in River.
@@ -75,7 +73,7 @@ def _get_params(self) -> dict[str, typing.Any]:
75
73
76
74
def clone(
77
self, new_params: dict[str, typing.Any] | None = None, include_attributes: bool = False
78
- ) -> typing_extensions.Self:
+ ) -> typing.Self:
79
"""Return a fresh estimator with the same parameters.
80
81
The clone has the same parameters but has not been updated with any data.
0 commit comments