View Text of Installed Queries in pyTigerGraph

Hello would there be a way to view the body of a query from pytigergraph? I’d like to not use Studio and just see what a query does from VS Code.

E.g.,

conn.viewInstalledQuery(“my_query”)
CREATE QUERY my_query(Vertex d) FOR my_graph {
Start {d.*};
SELECT t FROM Start:s - (HOPS_TO:h) - Target:t;
PRINT t;
}

1 Like

@emackie That function currently doesn’t exist in pyTigerGraph, but it should be pretty straight forwards to implement as a new function. You can add any request as a new “enhancement” in the pyTigerGraph GitHub Repo. Issues · tigergraph/pyTigerGraph · GitHub

1 Like

Done pyTigerGraph Installed Query Integration · Issue #135 · tigergraph/pyTigerGraph · GitHub

Thanks

1 Like