def __init__(self, id="", fields=None): self.id = id self.fields = fields if fields else [] self.lastValue = 0 self.topic = blpapi.Topic() self.isSubscribed = False
def __init__(self, id=""): self.id = id self.isInitialPaintSent = False self.topic = blpapi.Topic() self.isSubscribed = False