-
Hello, Im looking for a proper way to get typehints for my structures. In opcua-asyncio server, I am importing PLC structures from a nodeset. Everything works as expected, the structures are created in the ua module, but I don't have any typehint info if I do something like this:
Is there a way to get the typehints? Am I missing something obvious here? Thanks in advance for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The structs are python dataclasses, you can get all fields via fields. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am closing this, because the title is missleading and not so relevant to what I am really trying to acomplish. |
Beta Was this translation helpful? Give feedback.
I am closing this, because the title is missleading and not so relevant to what I am really trying to acomplish.