def is_psqlgraph_entity(target): """Only attempt to track history on Nodes and Edges """ return target.__class__ in ( Node.__subclasses__()+Edge.__subclasses__())
def is_psqlgraph_entity(target): """Only attempt to track history on Nodes and Edges """ return target.__class__ in (Node.__subclasses__() + Edge.__subclasses__())