code: def _parse_spec(spec):
      parts = spec.split("/", 1)
      if len(parts) == 1:
          return parts[0], "/"
      assert len(parts) == 2, parts
      return parts[0], "/" + parts[1]
  
imports: import itertools
  import logging
  import os
  import subprocess
  import sys
  import uuid
  from guild import remote
  from guild import remote_util
  from guild import util
  from guild import var
  from .None import meta_sync
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_spec(spec) and returns: parts,  unknown, parts,  str