code: def run(self):
      from dvc.exceptions import DvcException
  
      try:
          processed_files_count = self.repo.push(
              targets=self.args.targets,
              jobs=self.args.jobs,
              remote=self.args.remote,
              all_branches=self.args.all_branches,
              all_tags=self.args.all_tags,
              all_commits=self.args.all_commits,
              with_deps=self.args.with_deps,
              recursive=self.args.recursive,
              run_cache=self.args.run_cache,
              glob=self.args.glob,
          )
          self.log_summary({"pushed": processed_files_count})
      except DvcException:
          logger.exception("failed to push data to the cloud")
          return 1
      return 0
  
file_path: dvc/dvc/commands/data_sync.py
imports: import argparse
  from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.log import logger
label_desc: Use image node_id 1 for calling the CmdDataPush obj's underlying member method code with example usage: obj.run() and returns: int, int