code: def _mark_annotated(obj) -> None:
      # Set magic token for check_api_annotations linter.
      if hasattr(obj, "__name__"):
          obj._annotated = obj.__name__
  
file_path: ray/python/ray/util/annotations.py
imports: from typing import Optional
  import inspect
  import sys
  import warnings
  from functools import wraps
label_desc: Use image node_id 6 for calling a global function with example usage: _mark_annotated(obj) without return types