Skip to content

Commit

Permalink
change type hint to legacy style for 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tanekere committed Jul 31, 2024
1 parent f6e467e commit 394eb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/common/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit 394eb86

Please sign in to comment.