code: def _maybe_truncate_dec_part(part, trunc_len):
      if part[:1] != ".":
          return part
      if len(part) <= trunc_len:  # lte to include leading '.'
          return part
      return part[: trunc_len + 1]
  
imports: import logging
  import os
  import re
  import yaml
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 44 for calling a global function with example usage: _maybe_truncate_dec_part(part, trunc_len) and returns: part, part, part