Skip to content

Commit 97fcf4a

Browse files
committed
ModelChainResult type _T to T
1 parent 9068ad4 commit 97fcf4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/modelchain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ def get_orientation(strategy, **kwargs):
265265

266266
@dataclass
267267
class ModelChainResult:
268-
_T = TypeVar('T')
269-
PerArray = Union[_T, Tuple[_T, ...]]
268+
T = TypeVar('T')
269+
PerArray = Union[T, Tuple[T, ...]]
270270
"""Type for fields that vary between arrays"""
271271

272272
# these attributes are used in __setattr__ to determine the correct type.

0 commit comments

Comments
 (0)