#NEWLINE# @ operation #NEWLINE# def put_workflow_node_instance( ctx , modification , relationships ) : #NEWLINE# #INDENT# with update_storage ( relationships ) as data : #NEWLINE# #INDENT# state = data . get ( 'state' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# data [ 'state' ] = state #NEWLINE# state [ ctx . instance . id ] = { #NEWLINE# #INDENT# 'node_id' : ctx . node . id , #NEWLINE# 'modification' : modification , #NEWLINE# 'relationships' : relationships , #NEWLINE# #UNINDENT# }