Merge "Add 'created_at' to execution() yaql function"
This commit is contained in:
commit
fbe2b3289a
@ -313,3 +313,8 @@ class YAQLFunctionsEngineTest(engine_test_base.EngineTestCase):
|
||||
)
|
||||
|
||||
self.assertDictEqual({'param1': 'blablabla'}, execution['params'])
|
||||
|
||||
self.assertEqual(
|
||||
wf_ex.created_at.isoformat(' '),
|
||||
execution['created_at']
|
||||
)
|
||||
|
@ -108,7 +108,8 @@ def execution_(context):
|
||||
'name': wf_ex.name,
|
||||
'spec': wf_ex.spec,
|
||||
'input': wf_ex.input,
|
||||
'params': wf_ex.params
|
||||
'params': wf_ex.params,
|
||||
'created_at': wf_ex.created_at.isoformat(' ')
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user