Przeglądaj źródła

Temporary hash value for Graph.

Stefano Cossu 6 lat temu
rodzic
commit
adf2ad61ba
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      lakesuperior/model/rdf/graph.pyx

+ 2 - 2
lakesuperior/model/rdf/graph.pyx

@@ -300,8 +300,8 @@ cdef class Graph:
 
 
     def __hash__(self):
-        """ TODO Bogus """
-        return self.uri
+        """ TODO Not that great of a hash. """
+        return id(self)
 
 
     ## BASIC PYTHON-ACCESSIBLE SET OPERATIONS ##