def setServiceParent(self, parent): PollingChangeSource.setServiceParent(self, parent) self._scheduler = parent