Skip to content

Commit 3221865

Browse files
committed
Avoid importing typing multple times
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 3e9c892 commit 3221865

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/frequenz/sdk/timeseries/_base_types.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
import dataclasses
77
import enum
88
import functools
9-
import typing
109
from collections.abc import Callable, Iterator
1110
from dataclasses import dataclass
1211
from datetime import datetime, timezone
13-
from typing import Generic, Self, overload
12+
from typing import Generic, Self, TypeVar, overload
1413

1514
from ._quantities import Power, QuantityT
1615

@@ -140,7 +139,7 @@ def map(
140139
)
141140

142141

143-
_T = typing.TypeVar("_T")
142+
_T = TypeVar("_T")
144143

145144

146145
@dataclass(frozen=True)

0 commit comments

Comments
 (0)