Skip to content

Commit fbe6fdb

Browse files
committed
fix: import Self from typing_extensions instead of typing
1 parent 559abe3 commit fbe6fdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stubs/tensorflow/tensorflow/keras/metrics.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from typing import Any, Self
1+
from typing import Any
2+
from typing_extensions import Self
23

34
from tensorflow import Tensor, _TensorCompatible
45
from tensorflow.dtypes import DType

0 commit comments

Comments
 (0)