fix cog layers
This commit is contained in:
parent
fec7010274
commit
84fcf6c5a6
1 changed files with 5 additions and 1 deletions
|
|
@ -62,6 +62,10 @@ async def add_cognitive_layer_graphs(
|
||||||
|
|
||||||
id, type, name, description, *node_properties = node
|
id, type, name, description, *node_properties = node
|
||||||
|
|
||||||
|
print("Node properties: ", node_properties)
|
||||||
|
|
||||||
|
node_properties = dict(node_properties)
|
||||||
|
|
||||||
graph_nodes.append((
|
graph_nodes.append((
|
||||||
node_id,
|
node_id,
|
||||||
dict(
|
dict(
|
||||||
|
|
@ -77,7 +81,7 @@ async def add_cognitive_layer_graphs(
|
||||||
# named_entities = named_entities,
|
# named_entities = named_entities,
|
||||||
created_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
created_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
||||||
updated_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
updated_at = datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
||||||
*node_properties,
|
**node_properties,
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue