code: def _truncate(s: str, max_length: int) -> str:
      """Returns the input string s truncated to be at most max_length characters
      long.
  
      """
      return s if len(s) <= max_length else s[0:max_length]
  
file_path: caliban/caliban/platform/cloud/util.py
imports: import re
  from typing import Dict, List, Optional, Tuple, Union
  import caliban.util
  import caliban.util.argparse
label_desc: Use image node_id 1 for calling a global function with example usage: _truncate(s, max_length) and returns: unknown