Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

How to get a query id while calling a query from python library


Hello everybody,

We use Airflow tasks to call queries that contain apoc procedures. However, when tasks are marked as Failed, the query doesn't stop and continues its execution on the server. It's extremely annoying, since following that we need to kill these queries manually either from console or web browser.

To overcome this inconvenience, I would like to know if it is possible to get a query id from a query that was called using method from GraphDatabase.driver. In this case GraphDatabase is a part of neo4j python library.

Looking forward to your comments and suggestions!