code: def status(
      self,
      targets=None,
      jobs=None,
      cloud=False,
      remote=None,
      all_branches=False,
      with_deps=False,
      all_tags=False,
      all_commits=False,
      recursive=False,
  ):
      if isinstance(targets, str):
          targets = [targets]
  
      if cloud or remote:
          return _cloud_status(
              self,
              targets,
              jobs,
              all_branches=all_branches,
              with_deps=with_deps,
              remote=remote,
              all_tags=all_tags,
              all_commits=all_commits,
              recursive=True,
          )
  
      ignored = list(
          compress(
              [
                  "--all-branches",
                  "--all-tags",
                  "--all-commits",
                  "--jobs",
              ],
              [all_branches, all_tags, all_commits, jobs],
          )
      )
      if ignored:
          msg = "The following options are meaningless for local status: {}"
          raise InvalidArgumentError(msg.format(", ".join(ignored)))
  
      return _local_status(
          self, targets, with_deps=with_deps, recursive=recursive
      )
  
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 4 for calling a global function with example usage: status(targets, jobs, cloud, remote, all_branches, with_deps, all_tags, all_commits, recursive) and returns: _local_status, _cloud_status