code: def _path_filter(run, args):
      base_path_filter = _base_path_filter(args)
      manifest_file_types = _manifest_file_types(args)
      if not manifest_file_types:
          return base_path_filter
      return _ManifestFilter(
          run,
          manifest_file_types,
          base_path_filter,
          args.follow_links,
      )
  
imports: import fnmatch
  import logging
  import re
  import os
  from guild import cli
  from guild import run_manifest
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 9 for calling a global function with example usage: _path_filter(run, args) and returns: _ManifestFilter, base_path_filter