This might be an obvious question to some, but my java knowledge is lacking…
(excuse the horrible terminology) In Python scripting, how can I compare a value that is returned as an enum, to a value within the enum ‘variable’ (class?).
qual = system.tag.read(‘tagpath’).quality returns a DataQuality enum member, for example NOT_FOUND.
how can I compare this enum value to one of the members in the enum?
E.g. qual == DataQuality.NOT_FOUND