code: def _invalid_dependency_error(spec, depdef):
      raise OpDependencyError(
          f"invalid dependency '{spec}' in operation '{depdef.opdef.fullname}'"
      )
  
imports: import os
  import re
  import logging
  import typing
  from guild import cli
  from guild import resolver
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 16 for calling a global function with example usage: _invalid_dependency_error(spec, depdef) without return types