pygraphistry icon indicating copy to clipboard operation
pygraphistry copied to clipboard

[FEA] predicates dont translate from json to python

Open mj3cheun opened this issue 2 months ago • 6 comments

import graphistry
from graphistry import n, e_forward, is_in

chain_operations = graphistry.Chain([n(name="is_carib_bank_origin"),e_forward(hops=1, edge_match={"originator_bank_country": is_in(options=["Cayman Islands", "Bermuda", "Virgin Islands British", "British Virgin Islands", "Bahamas", "Panama", "Barbados"])}),
])

graphistry.Chain.from_json(chain_operations.to_json())

this doesnt work

mj3cheun avatar Apr 26 '24 22:04 mj3cheun