code: def configure_usr_dir(job_spec, usr_tar):
      assert usr_tar.startswith("gs://")
      job_spec["trainingInput"]["packageUris"].append(usr_tar)
      usr_args = ["--t2t_usr_dir", usr_dir_lib.INTERNAL_USR_DIR_PACKAGE]
      job_spec["trainingInput"]["args"].extend(usr_args)
  
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 19 for calling a global function with example usage: configure_usr_dir(job_spec, usr_tar) without return types