code: def set_doc(self, component: str):
      if self.listener.__doc__:
          doc = Template(self.listener.__doc__).render(
              component=component
          )
          self.listener.__doc__ = doc
  
imports: from __future__ import annotations
  import dataclasses
  from functools import partial, wraps
  from typing import TYPE_CHECKING, Any, Callable, Literal, Sequence
  from gradio_client.documentation import document
  from jinja2 import Template
  from gradio.context import Context
  from gradio.utils import get_cancel_function
label_desc: Use image node_id 3 for calling the EventListener obj's underlying member method code with example usage: obj.set_doc(component) without return types