File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1313
1414from typing_extensions import TypeVar , final
1515
16- from nitypes ._exceptions import invalid_arg_type , invalid_arg_value
16+ from nitypes ._exceptions import invalid_arg_type
1717from nitypes .waveform ._extended_properties import UNIT_DESCRIPTION
1818
1919if TYPE_CHECKING :
@@ -76,11 +76,6 @@ def __init__(
7676 if not isinstance (units , str ):
7777 raise invalid_arg_type ("units" , "str" , units )
7878
79- # The ScalarData proto type only supports 32 bit integers. Make sure we're in range.
80- if isinstance (value , int ):
81- if value <= - 0x80000000 or value >= 0x7FFFFFFF :
82- raise invalid_arg_value ("integer scalar value" , "within the range of Int32" , value )
83-
8479 self ._value = value
8580 self ._extended_properties = ExtendedPropertyDictionary ()
8681 self ._extended_properties [UNIT_DESCRIPTION ] = units
You can’t perform that action at this time.
0 commit comments