You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mapping, direction and status keys are saved both in "default" and at the root level by code I committed in da69a44 because they are used by "src/pyasm/command/workflow.py"
line 3152 should be:
mapping = workflow_data.get("default").get("mapping")
same problem in lines 3158,3159 and 3160
I was unsure if changing workflow.py was the correct way to solve the problem and if "default" is the correct key because manual node for example use "properties" instead of "default"
Is "default" the right key for the status node datas?
If this is the case is it ok to send a PR changing src/pyasm/command/workflow.py to look for data under the "default" key?
Sorry for taking so long to answer this. I missed this comment.
We moved to having named dictionaries because the amount of data being stored by the various parts were getting to large (this was especially true on some of our internal tools). So we moved all the old settings for the manual node to "properties". This is an arbitrary key and as long as all the parts look at the same place, it's ok.
We apparently didn't fix the status nodes for the task pipeline to update with this. Whether we use "properties" or "default" doesn't matter. What I would prefer is that no data except "version" and "node_type" lies in the root of the "workflow" dictionary.
Describe the bug
The json saved is not correct when saving a task pipeline. It looks something like this:
Note that this is harmless, but should be fixed at some point.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The json should look something like this:
The text was updated successfully, but these errors were encountered: