Skip to content

Augmenting UA nodes with custom Python properties #665

Answered by xmas79
xmas79 asked this question in Q&A
Discussion options

You must be logged in to vote

I understand, the idea is to return only node identifiers (ns=x;i=y) and never expose the internal nodes (I see the internal database is updated here https:/FreeOpcUa/opcua-asyncio/blob/2f0c9fc1d40252e08e64242ba0f65465dd077feb/asyncua/server/address_space.py#L280). I will manual bookmark the nodes as a simple python dictionary (eg. mynodes[myobj.nodeid.to_string()] = myobj).

Thanks!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@xmas79
Comment options

@AndreasHeine
Comment options

@AndreasHeine
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by xmas79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants