Skip to content

Commit

Permalink
Add type hint for attr
Browse files Browse the repository at this point in the history
  • Loading branch information
petebachant authored and oroulet committed May 27, 2023
1 parent 0861780 commit 244f08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ async def unregister_nodes(self, nodes):
node.nodeid = node.basenodeid
node.basenodeid = None

async def read_attributes(self, nodes: List[Node], attr=ua.AttributeIds.Value):
async def read_attributes(self, nodes: List[Node], attr: ua.AttributeIds = ua.AttributeIds.Value):
"""
Read the attributes of multiple nodes.
"""
Expand Down

0 comments on commit 244f08e

Please sign in to comment.