File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,18 +118,18 @@ def __repr__(self):
118118 len ((c for c in self .graphs () if c not in self .store .contexts ()))
119119 )
120120
121- def update (self , update_object ):
122- comp_graphA = ComparableGraph (self .store )
123- comp_graphB = ComparableGraph (self .store )
124- answer = comp_graphB .update (update_object )
125- diff_tupel = comp_graphA .diff (comp_graphB )
126- for removeGraph in diff_tupel [1 ]:
127- for triple in removeGraph :
128- self .remove (triple )
129- for additionalGraph in diff_tupel [0 ]:
130- for triple in additionalGraph :
131- self .add (additionalGraph )
132- return answer
121+ # def update(self, update_object):
122+ # comp_graphA = ComparableGraph(self.store)
123+ # comp_graphB = ComparableGraph(self.store)
124+ # answer = comp_graphB.update(update_object)
125+ # diff_tupel = comp_graphA.diff(comp_graphB)
126+ # for removeGraph in diff_tupel[0 ]:
127+ # for triple in removeGraph:
128+ # self.remove(triple)
129+ # for additionalGraph in diff_tupel[1 ]:
130+ # for triple in additionalGraph:
131+ # self.add(additionalGraph)
132+ # return answer
133133
134134 def _graph (self , c ):
135135 if c is None :
You can’t perform that action at this time.
0 commit comments