stdlib: Specify typing for SimStat Scalar value (#971)

This commit is contained in:
Bobby R. Bruce
2024-04-04 08:34:20 -07:00
committed by GitHub
parent 4ff34a75bb
commit 213b418391

View File

@@ -75,7 +75,7 @@ class Scalar(Statistic):
def __init__(
self,
value: Any,
value: Union[float, int],
unit: Optional[str] = None,
description: Optional[str] = None,
datatype: Optional[StorageType] = None,