code: def copy(self):
      return EventListener(
          self.event_name,
          self.has_trigger,
          self.config_data,
          self.show_progress,  # type: ignore
          self.callback,
          self.trigger_after,
          self.trigger_only_on_success,
          self.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 4 for calling the EventListener obj's underlying member method code with example usage: obj.copy() and returns: EventListener