stdlib: Specify typing for SimStat Scalar value (#971)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user