def webserver(): webserver = vaex.webserver.WebServer(datasets=[], port=test_port, cache_byte_size=0) webserver.serve_threaded() yield webserver webserver.stop_serving()
def webserver(): webserver = vaex.webserver.WebServer(datasets=[], port=test_port, cache_byte_size=0, token='token', token_trusted='token_trusted') x = np.arange(10) df = vaex.from_arrays(x=x) df.name = 'df' webserver.set_datasets([df]) webserver.serve_threaded() yield webserver webserver.stop_serving()