Open iamsmkr opened 2 weeks ago
upload_graph
from the client - which should be a good bit faster than send_graph
- The load_graphs_from_path from the server and client seems to crash:
Seems to be working fine in branch todos/graphql
server = RaphtoryServer(working_dir="/tmp/graphs/",port=1736)
server.start()
c = server.get_client()
c.send_graph(g,graph_name="blah",namespace="ben/tests/",overwrite=False)
c.upload_graph("/user/ben/Documents/g",graph_name="blah2",,namespace="ben/tests/",overwrite=False)
c.load_graph("/usr/ubuntu/g",graph_name="blah3",,namespace="ben/tests/",overwrite=False)
From discussions on simplifying the upload of graphs
graphql
wait_for_server
needs to be internalizedwait
to be internalised intostop
itself in pythonoverwrite
argument set to false by default where we first check if all of the names are available within the namespace and if not an error is returnedTesting to do later