

def get_object(self, request, **kwargs):
    "\n        Lookup the job and return it or return None if the job wasn't found.\n        "
    if (not hasattr(request, 'instance')):
        request.instance = utils.get_job(kwargs['job_uuid'])
    return request.instance

dataset/ETHPy150Open chop-dbhi/serrano/serrano/resources/jobs.py JobResource.get_object/original