code: def launch_job(job_spec):
      """Launch job on ML Engine."""
      project_id = "projects/{}".format(
          text_encoder.native_to_unicode(default_project())
      )
      credentials = GoogleCredentials.get_application_default()
      cloudml = discovery.build(
          "ml", "v1", credentials=credentials, cache_discovery=False
      )
      request = (
          cloudml.projects()
          .jobs()
          .create(body=job_spec, parent=project_id)
      )
      request.execute()
  
imports: import datetime
  import os
  import pprint
  import shutil
  import subprocess
  import sys
  import tempfile
  from googleapiclient import discovery
  from oauth2client.client import GoogleCredentials
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.layers import common_hparams
  from tensor2tensor.utils import registry
  from tensor2tensor.utils import usr_dir
  import tensorflow.compat.v1
label_desc: Use image node_id 12 for calling a global function with example usage: launch_job(job_spec) without return types