Пример #1
0
    def _pop_interaction(self):
        collection = InteractionLog.get_collection()
        log = InteractionLog.get_interaction(self.user.visitor_id, collection)

        return log.pop(collection)
Пример #2
0
 def _push_interaction(self, type, old_value):
     collection = InteractionLog.get_collection()
     log = InteractionLog.get_interaction(self.user.visitor_id, collection)
     log.push(type, old_value, collection)