def push(self, subgraph):
        """ Push data from one or more entities to their remote counterparts.

        :param subgraph: the collection of nodes and relationships to push
        """
        try:
            subgraph.__db_push__(self)
        except __HOLE__:
            raise TypeError("No method defined to push object %r" % subgraph)
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/database/__init__.py/Graph.push