

def get_link_templates(self, request):
    "\n        Return the link templates for this job.\n\n        These include a link to this job and a link to this job's result.\n        "
    uri = request.build_absolute_uri
    return {
        'self': reverse_tmpl(uri, 'serrano:jobs:single', {
            'job_uuid': (int, 'id'),
        }),
        'result': reverse_tmpl(uri, 'serrano:jobs:result', {
            'job_uuid': (int, 'id'),
        }),
    }

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