Hello guys
i’m tired, i don’t know how to add facets using python client
help me pls
You can use the JSON mutation format for facets: https://docs.dgraph.io/mutations/#facets
{
"predicate|facet": "value"
}
1 Like
it works for me, thanks u
1 Like
I know this is quite old, and I am really not trying to do self-promotion here… but pydiggy
supports adding facets in a Python client.
1 Like