cancel
Showing results for 
Search instead for 
Did you mean: 

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

maxim
Node

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 session.run(query) method from GraphDatabase.driver. In this case GraphDatabase is a part of neo4j python library.

Looking forward to your comments and suggestions!

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.