code: def _mark_annotated(obj) -> None:
      # Set magic token for check_api_annotations linter.
      if hasattr(obj, "__name__"):
          obj._annotated = obj.__name__
  
file_path: ludwig/ludwig/api_annotations.py
imports: from typing import Optional
label_desc: Use image node_id 5 for calling a global function with example usage: _mark_annotated(obj) without return types