Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed function signature in Node #1690

Merged

Conversation

tanekere
Copy link
Contributor

Fixed function signature of read_array_dimensions in asyncua/common/node.

ArrayDimentions is always a list of ints because OPC UA has support for multidimentional arrays. This is specified in the OPC UA standard at the end of this page. But the return type in asyncua was is specified as int. This can generate false type-checker errors. Fix is to just change signature. The fucntion already correctly returns a list of integers.

Let me know if you want me to add a changelog entry also 😊

Fixed a function signature of `read_array_dimensions` in asyncua/common/node.

ArrayDimentions is always a list of ints because OPC UA has support for multidimentional arrays. But the return type was is specified as int.
@oroulet
Copy link
Member

oroulet commented Jul 31, 2024

thanks, unfortunately we still have many of these wrong typing things..

@oroulet oroulet merged commit 9004465 into FreeOpcUa:master Aug 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants