redisgraph-py icon indicating copy to clipboard operation
redisgraph-py copied to clipboard

Add multi label support

Open AviAvni opened this issue 4 years ago • 1 comments

Latest version of RedisGraph support node with multiple labels this needs to be reflected in the client when creating a node and when parsing a result that contains node

AviAvni avatar Oct 20 '21 13:10 AviAvni

It seems that the support was added in #144?

I've also noticed this condition, which should probably be updated too. https://github.com/RedisGraph/redisgraph-py/blob/e212cd434c842d7d5412015e1d578e9eacdf2430/redisgraph/node.py#L58

Looks like this would be pretty easy to fix. I think just changing from label to labels would do the trick.

I don't mind creating a PR. There probably should also be a test for this case?

Edit: fixed in #159

By the way, thank you for your amazing work on RedisGraph! It's been very easy to get started with it. Love the simplicity, but it is also quite powerful and seems to be constantly improving! :smiley:

MelomanCool avatar Jan 13 '22 18:01 MelomanCool