def apply_observing_policy(self): """register the object with the observer""" self.observer = PollyObserver() self.observer.register(self)