code: def extract_script_args(m: Dict[str, Any]) -> List[str]:
      """Strip off the "--" argument if it was passed in as a separator."""
      script_args = m.get("script_args")
      if script_args is None or script_args == []:
          return script_args
  
      head, *tail = script_args
  
      return tail if head == "--" else script_args
  
imports: import os
  import sys
  from enum import Enum
  from typing import Any, Dict, List, Optional, Tuple
  import schema
  import caliban.platform.cloud.types
  import caliban.util.schema
label_desc: Use image node_id 4 for calling a global function with example usage: extract_script_args(m) and returns: unknown, script_args