def keys(self):
        return (frozenset(chain(*(node.keys() for node in self.__nodes))) |
                frozenset(chain(*(rel.keys() for rel in self.__relationships))))
Set of all property keys.
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/types.py/Subgraph.keys