class_docstr: Manage listener registration and provides hook property for calling them.
class_docstr_tok: ["Manage","listener","registration","and","provides","hook","property","for","calling","them","."]
docstr: Return hook, on which plugin methods specified in spec can be called.
docstr_tok: ["Return","hook",",","on","which","plugin","methods","specified","in","spec","can","be","called","."]
code: def hook(self) -> _HookRelay:
      """Return hook, on which plugin methods specified in spec can be called."""
      return self.pm.hook
  
file_path: airflow/airflow/listeners/listener.py
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING
  import pluggy
  from airflow.plugins_manager import integrate_listener_plugins
label_desc: Use image node_id 3 for calling the ListenerManager obj's underlying member method code with example usage: obj.hook() and returns: self