Why does this only create 1 node?

def makenodes2(client, num):
print(“makenode2”)
txn = client.txn()
try:
p = [
{
‘uid’: ‘:node’,
‘dgraph.type’: ‘Nodes’,
‘name’: ‘Node’,
‘value’: 0
},
{
‘uid’: '
:node’,
‘dgraph.type’: ‘Nodes’,
‘name’: ‘Node’,
‘value’: 0
},
{
‘uid’: ‘_:node’,
‘dgraph.type’: ‘Nodes’,
‘name’: ‘Node’,
‘value’: 2
}
]

    response = txn.mutate(set_obj=p)
    txn.commit()
finally:
    txn.discard()

This doesn’t create 3 nodes which I expected, but only creates one (the last node).

Assign different value to uid.
In mutation, multiple identical uids represent a node