code: def run_job(self, **kwds):
          
          template = DrmaaSession.session.createJobTemplate()
          try:
              for key in kwds:
                  setattr(template, key, kwds[key])
              with DrmaaSession.session_lock:
                  return DrmaaSession.session.runJob(template)
          finally:
              DrmaaSession.session.deleteJobTemplate(template)
docs: Create a DRMAA job template, populate with specified properties,
          run the job, and return the external_job_id.