code: def generic_dependency_args(
      run_dir, run_relative_path, source_uri, subpath=None
  ):
      """Returns manifest args for a run file or directory (dependency).
  
      This is a generic version of `resolved_source_args` and does not
      rely on `op_dep.ResolvedSource`.
  
      Args:
  
          ['d', run_relative_path, sha1_or_dash] + source_args
  
      If the resolved source is a file, its sha1 is included in the args
      at position 3, otherwise a dash ('-') is used.
  
      `source_args` in this is one of:
  
          - [source_uri]
          - [source_uri, subpath]
  
      """
      full_path = os.path.join(run_dir, run_relative_path)
      hash_arg = _resolved_source_hash_manifest_arg(full_path)
      return ["d", run_relative_path, hash_arg, source_uri] + (  #
          [subpath] if subpath else []
      )
  
imports: import os
  import re
  from guild import manifest
  from guild import util
  from guild import var
label_desc: Use image node_id 13 for calling a global function with example usage: generic_dependency_args(run_dir, run_relative_path, source_uri, subpath) and returns: unknown