code: def launch(self, resource):
          
          schema = JobSchema(exclude=('id', 'status', 'package_name', 'config_name', 'device_name', 'result_id', 'user_id', 'created', 'updated', 'automatic'))
          json = self.service.encode(schema, resource)
  
          schema = JobSchema()
          resp = self.service.create(self.base, json)
          return self.service.decode(schema, resp)
docs: Launch a new job.
  
          :param resource: :class:`jobs.Job <jobs.Job>` object
          :return: :class:`jobs.Job <jobs.Job>` object
          :rtype: jobs.Job