Published outputs cannot be updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Winson Chan |
Bug Description
~/tmp$ cat test-output-
version: "2.0"
name: "test-output-
workflows:
main:
type: direct
input:
- subject
- adjective
output:
on-error:
- fail
tasks:
~/tmp$ mistral workbook-create test-output-
Starting new HTTP connection (1): localhost
+------
| Field | Value |
+------
| Name | test-output-rewrite |
| Tags | <none> |
| Created at | 2015-01-28 22:27:15.383479 |
| Updated at | None |
+------
~/tmp$ mistral execution-create test-output-
Starting new HTTP connection (1): localhost
+------
| Field | Value |
+------
| ID | 5268cb03-
| Workflow | test-output-
| State | RUNNING |
| Created at | 2015-01-
| Updated at | 2015-01-
+------
~/tmp$ mistral task-get-output 9e0d6151-
Starting new HTTP connection (1): localhost
{
"printed_
}
~/tmp$ mistral execution-list
Starting new HTTP connection (1): localhost
+------
| ID | Workflow | State | Created at | Updated at |
+------
| 5268cb03-
+------
vagrant@
Starting new HTTP connection (1): localhost
{
"tagline": "mistral is awesome!"
}
The expected tagline should be "This mistral thing is awesome!"...
Changed in mistral: | |
status: | Fix Committed → Fix Released |
Changed in mistral: | |
milestone: | kilo-2 → 2015.1 |
https:/ /github. com/stackforge/ mistral/ blob/master/ mistral/ utils/_ _init__ .py#L117- L124
idea: suggest to add "override=False" in method signature:
def merge_dicts(left, right, override=False):