code: def _default_target_type_for_source(source):
      if source.parsed_uri.scheme == "operation":
          return "link"
      return "copy"
  
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 27 for calling a global function with example usage: _default_target_type_for_source(source) and returns: str, str