def reload(self, subj):
        self._assert_saved(subj)
        # naively copy properties from node to object
        node = subj.__node__
        for key in subj.__dict__:
            if not key.startswith("_") and key not in node:
                setattr(subj, key, None)
        for key, value in node.items():
            if not key.startswith("_"):
                setattr(subj, key, value)
        subj.__rel__ = {}
        for rel in self.graph.match(subj.__node__):
            t = rel.type()
            if t not in subj.__rel__:
                subj.__rel__[t] = []
            subj.__rel__[t].append((dict(rel), rel.end_node()))
Reload properties and relationships from a database node into
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/ext/ogm/store.py/Store.reload