451
452
453
454
455
456
457
458
459
460
461
|
print(sPyCallables)
# Result
return {
"graph_callables": sPyCallables,
"graph_callablesJS": sJSCallables,
"rules_graphs": dAllGraph,
"rules_graphsJS": json.dumps(dAllGraph, ensure_ascii=False),
"rules_actions": dACTIONS,
"rules_actionsJS": json.dumps(dACTIONS, ensure_ascii=False)
}
|
|
|
|
451
452
453
454
455
456
457
458
459
460
461
|
print(sPyCallables)
# Result
return {
"graph_callables": sPyCallables,
"graph_callablesJS": sJSCallables,
"rules_graphs": dAllGraph,
"rules_graphsJS": str(dAllGraph).replace("True", "true").replace("False", "false"),
"rules_actions": dACTIONS,
"rules_actionsJS": str(dACTIONS).replace("True", "true").replace("False", "false")
}
|