code: def add_event(self, key, event):
          
          assert isinstance(key, str)
          assert isinstance(event, bytes)
          self.conn.execute('INSERT INTO events(uuid,event) VALUES (?,?)',
                            (key, event.decode('utf-8')))
docs: Add an event and its corresponding key to the store.