def insert(self, db: hug.types.text, bloomfilter, sample): """Inserts a bloom filter into the graph e.g. bigsi insert ERR1010211.bloom ERR1010211 """ graph = BIGSI(db) return insert(graph=BIGSI(db), bloomfilter=bloomfilter, sample=sample)
def insert(self, config: hug.types.text, bloomfilter, sample): """Inserts a bloom filter into the graph e.g. bigsi insert ERR1010211.bloom ERR1010211 """ config = get_config_from_file(config) index = BIGSI(config) return insert(index=index, bloomfilter=bloomfilter, sample=sample)