示例#1
0
 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_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)
示例#3
0
 def test_list_collection(self):
     collection = Collection(collection_name)
     collection.add_data(test_data)
     collection.train()
     collection.wait()
     assert collections()[collection_name]
 def test_list_collection(self):
     collection = Collection(collection_name)
     collection.add_data(test_data)
     collection.train()
     collection.wait()
     assert collections()[collection_name]
示例#5
0
 def get(self):
 	colls = collections(api_key=options.indico_key)
     self.render("dash.html", colls=colls)