Open iamsmkr opened 3 weeks ago
After discussion, we should tidy the APIs to provide the following:
server = RaphtoryServer(working_dir="/graphs",port=1736,config = ...)
server.start()
server.stop()
server.wait()
server.run()
c=server.get_client()
c=RaphtoryClient("localhost:1736")
c.send_graphs(hashmap_of_graphs,overwrite=True,namespace="ben")
c.load_from_path(path_to_folder_of_graphs,overwrite=True,namespace="shivam")
c.query(...)
After discussion, we should tidy the APIs to provide the following:
server = RaphtoryServer(working_dir="/graphs",port=1736,config = ...) server.start() server.stop() server.wait() server.run() c=server.get_client() c=RaphtoryClient("localhost:1736") c.send_graphs(hashmap_of_graphs,overwrite=True,namespace="ben") c.load_from_path(path_to_folder_of_graphs,overwrite=True,namespace="shivam") c.query(...)
Implemented this leaving the namespace
argument which we will address once load is sorted
What changes were proposed in this pull request?
#1649
Why are the changes needed?
Same as above
Does this PR introduce any user-facing change? If yes is this documented?
No
How was this patch tested?
Uni, integration and manual tests
Issues
_If this resolves any issues, please link to them here, the format is a KEYWORD followed by @__
KEYWORDS available are
close
,closes
,closed
,fix
,fixes
,fixed
,resolve
,resolves
,resolved
. Please delete this text before creating your PRAre there any further changes required?
No