File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -118,18 +118,18 @@ def __repr__(self):
118
118
len ((c for c in self .graphs () if c not in self .store .contexts ()))
119
119
)
120
120
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
133
133
134
134
def _graph (self , c ):
135
135
if c is None :
You can’t perform that action at this time.
0 commit comments