code: def _split_pkg_type_and_name(s, encoded):
      parts = s.split(":", 1)
      if len(parts) != 2:
          raise OpRefError(encoded)
      return parts
  
file_path: guildai/guild/opref.py
imports: import collections
  import logging
  import os
  import re
  from guild import util
label_desc: Use image node_id 3 for calling a global function with example usage: _split_pkg_type_and_name(s, encoded) and returns: parts