def add(self, data):
        """
        Add an item to the bloomfilter.

        :param bytes data: a bytestring representing the item to add.
        """
        bfo = BitFieldOperation(self.database, self.key)
        for bit_index in self._get_seeds(data):
            bfo.set('u1', bit_index, 1)
        bfo.execute()
def add ( self , data ) : bfo = BitFieldOperation ( self . database , self . key ) for bit_index in self . _get_seeds ( data ) : bfo . set ( 'u1' , bit_index , 1 ) bfo . execute ( )
Add an item to the bloomfilter.

        :param bytes data: a bytestring representing the item to add.