You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get a list\array of label values for a label name.
c = Enum('ChannelStatus', 'This shows Started or Stopped',labelnames=["ChannelName"],states=["on","off"])
c.labels("MyChannelNameA").state("on")
c.labels("MyChannelNameB").state("on")
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to get a list\array of label values for a label name.
c = Enum('ChannelStatus', 'This shows Started or Stopped',labelnames=["ChannelName"],states=["on","off"])
c.labels("MyChannelNameA").state("on")
c.labels("MyChannelNameB").state("on")
c.labels("MyChannelNameA").state("off")
c.labels("MyChannelNameB").state("off")
I want to get a list of Label Values for the above. I cannot seem to find the syntax for this!!!
I tried this and many other things, can't seem to figure it out!!!
mylabels = c._labelvalues
Beta Was this translation helpful? Give feedback.
All reactions