Using the sample code from this tutorial:
https://hhsu99.github.io/tg-fullstack-course/course
Which uses the Covid 19 sample graph, everything works fine up to the point of calling the API that fetches data from TigerGraph
I don’t get an error connecting and authenticating, but do get an error calling the installed query. This is the query that runs fine from TG Studio.
This is the Python code:
@app.get("/list_patients_infected_by/")
def readListPatient_Infected_By():
gsql = conn.runInstalledQuery("list_patients_infected_by", {"p", "2000000205"})
return gsql
And this is the result in FastAPI
Any idea where/how to trouble shoot this?
Thanks