Commit 904fe092 authored by Antoine Millet's avatar Antoine Millet
Browse files

Added remove method on TqlResponse objects

parent 3b2b16b8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -217,6 +217,13 @@ class TqlResponse(object):
        if obj not in self._objects:
            self._objects[obj.id] = obj

    def remove(self, obj):
        """ Remove an object in the response.

        :param obj: the object to remove from the response
        """
        del self._objects[obj.id]

#
# Database:
#