The 'graphname' argument which is used in gsql() method to specify which graph to run the gsql query on, does not work as expected
Create any graph of your choice with name 'sample'
Try running the following code snippet:
gsql_query = 'SELECT n FROM (n:<VERTEX>)'
conn.gsql(gsql_query, graphname='sample')
The query should have returned a result, because the same query can be run successfully in the gsql shell. But instead it says
Error: Currently not using any graphs! Please use 'USE GRAPH' command to switch to a graph. Create a graph if no graph exists.
Desktop (please complete the following information):