How to access device tags in a custom widget?

How to access device tags in a custom widget?

Hi,

We are developing a custom widget and need to access tags on the devices the widget reads data from.
We could not find any documentation for this. Ideally, we would like to be able to do this without running an analysis.


Can you please advise?

Thanks