code: def _local_status(
      self, targets=None, with_deps=False, recursive=False
  ):
      targets = targets or [None]
      pairs = chain.from_iterable(
          self.stage.collect_granular(
              t, with_deps=with_deps, recursive=recursive
          )
          for t in targets
      )
  
      return _joint_status(pairs)
  
file_path: dvc/dvc/repo/status.py
imports: from itertools import chain, compress
  from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
  from .None import locked
label_desc: Use image node_id 2 for calling a global function with example usage: _local_status(targets, with_deps, recursive) and returns: _joint_status