class_docstr: Helper class which performs validation of all submissions.
docstr: Copies submission from Google Cloud Storage to local directory.
  
  Args:
    cloud_path: path of the submission in Google Cloud Storage
  
  Returns:
    name of the local file where submission is copied to
docstr_tok: ["Copies","submission","from","Google","Cloud","Storage","to","local","directory",".","Args",":","cloud_path",":","path","of","the","submission","in","Google","Cloud","Storage","Returns",":","name","of","the","local","file","where","submission","is","copied","to"]
code: def copy_submission_locally(self, cloud_path):
      """Copies submission from Google Cloud Storage to local directory.
  
      Args:
        cloud_path: path of the submission in Google Cloud Storage
  
      Returns:
        name of the local file where submission is copied to
      """
      local_path = os.path.join(
          self.download_dir, os.path.basename(cloud_path)
      )
      cmd = ["gsutil", "cp", cloud_path, local_path]
      if subprocess.call(cmd) != 0:
          logging.error("Can't copy submission locally")
          return None
      return local_path
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import csv
  import logging
  import os
  import random
  import shutil
  import subprocess
  import tempfile
  from six import iteritems
  import validate_submission_lib
label_desc: Use image node_id 2 for calling the SubmissionValidator obj's underlying member method code with example usage: obj.copy_submission_locally(cloud_path) and returns: local_path, None