code: def report_event(severity, label, message):
      if ray and ray.is_initialized():
          severity = (
              getattr(ray.EventSeverity, severity)
              if isinstance(severity, str)
              else severity
          )
          ray.report_event(severity, label, message)
  
file_path: mars/mars/oscar/backends/ray/utils.py
imports: import asyncio
  import enum
  import logging
  import os
  import posixpath
  from urllib.parse import urlparse, unquote
  from ....utils import lazy_import, lazy_import_on_load
label_desc: Use image node_id 10 for calling a global function with example usage: report_event(severity, label, message) without return types