langchain/callbacks/base.py/BaseCallbackManager/remove_handler
class BaseCallbackManager:    def remove_handler(self, handler: BaseCallbackHandler) -> None:
        """Remove a handler from the callback manager."""
        self.handlers.remove(handler)
        self.inheritable_handlers.remove(handler)