def test_clear_collection(self): collection = Collection(collection_name) collection.add_data(test_data) collection.train() collection.wait() assert collections()[collection_name] collection.clear() assert not collections().get(collection_name)
def test_list_collection(self): collection = Collection(collection_name) collection.add_data(test_data) collection.train() collection.wait() assert collections()[collection_name]
def get(self): colls = collections(api_key=options.indico_key) self.render("dash.html", colls=colls)