def unregister_hook(self, event, url):
        if event not in self.events:
            return

        # remove an url from registered hooks
        urls = self.events[event]
        urls.remove(url)
        self.events[event] = urls

        self.decref()
        self.maybe_stop_monitor()
Returns the function object that matches the provided name.
dataset/ETHPy150Open benoitc/gaffer/gaffer/webhooks.py/WebHooks.unregister_hook--crossover with--dataset/ETHPy150Open cloudtools/troposphere/troposphere/template_generator.py/TemplateGenerator._get_function_type