def __init__(self, pm: PropertyManager): self.handlers = {} self._layer = PropertyLayer() super().__init__(self._layer) for key, value in pm.items(): self._addSource(key, value) pm.wire(self.handleSdrDeviceChange)
def __init__(self, pm: PropertyManager): self.subscriptions = {} super().__init__(PropertyLayer()) for key, value in pm.items(): self._addSource(key, value) pm.wire(self.handleSdrDeviceChange)