cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Python bolt driver 1.7 - Summary returning None type for results_available_after and result_consumed_after

Hi!

I am trying to get the execution time of the cyphers I am running using the python driver.
The code i'm using is shown below, I tried both running the cypher in a transaction and straight into a session.

        tx = session.begin_transaction()
        result = tx.run(cypher)
        avail = result.summary().result_available_after
        cons = result.summary().result_consumed_after

The problem is that the result_available_after and result_consumed_after variables are returning None.

Any clues as to why they are returning as None?

2 REPLIES 2

I have the same problem.

They might only be available in the enterprise version of neo4js.

I tried it on Enterprise and it doesn't work either

edit: added a GH issue at https://github.com/neo4j/neo4j-python-driver/issues/304

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online