From 394eb86ce4dff09560abf9f50d07c7c95bf89548 Mon Sep 17 00:00:00 2001 From: Tejas Shastry <48762726+tanekere@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:19:48 +0200 Subject: [PATCH] change type hint to legacy style for 3.7 --- asyncua/common/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncua/common/node.py b/asyncua/common/node.py index 948efa501..bfe2adb4b 100644 --- a/asyncua/common/node.py +++ b/asyncua/common/node.py @@ -227,7 +227,7 @@ async def write_array_dimensions(self, value: int) -> None: v = ua.Variant(value, ua.VariantType.UInt32) await self.write_attribute(ua.AttributeIds.ArrayDimensions, ua.DataValue(v)) - async def read_array_dimensions(self) -> list[int]: + async def read_array_dimensions(self) -> List[int]: """ Read and return ArrayDimensions attribute of node """