Provide linkage from spawned job back to wfj.

This commit is contained in:
Aaron Tan
2016-11-25 21:23:29 -05:00
parent 16c0bc29a5
commit 54f99749eb
4 changed files with 34 additions and 2 deletions

View File

@@ -566,7 +566,7 @@ class UnifiedJobSerializer(BaseSerializer):
fields = ('*', 'unified_job_template', 'launch_type', 'status',
'failed', 'started', 'finished', 'elapsed', 'job_args',
'job_cwd', 'job_env', 'job_explanation', 'result_stdout',
'execution_node', 'result_traceback')
'execution_node', 'result_traceback', 'source_workflow_job')
extra_kwargs = {
'unified_job_template': {
'source': 'unified_job_template_id',