code: def event_name(self):
      # camel case to snake case
      event_name = re.sub(
          r"(?<!^)(?=[A-Z])", "_", self.__class__.__name__
      ).lower()
      # remove "_event" suffix
      suffix_to_remove = "_event"
      if event_name.endswith(suffix_to_remove):
          event_name = event_name[: -len(suffix_to_remove)]
      return event_name
  
imports: from __future__ import annotations
  import os
  import re
  import typing
  import uuid
  from abc import ABC
  from datetime import datetime
  from datetime import timezone
  from functools import lru_cache
  from platform import platform
  from platform import python_version
  import attr
  import attr.converters
  import psutil
  import yaml
  from simple_di import Provide
  from simple_di import inject
  from ...cloud.config import CloudClientConfig
  from ...configuration import BENTOML_VERSION
  from ...configuration.containers import BentoMLContainer
  from ...utils import bentoml_cattr
label_desc: Use image node_id 1 for calling the EventMeta obj's underlying member method code with example usage: obj.event_name() and returns: event_name