How to get the latency from deepstream python apps

We have shown you the recommanded interface is nvds_measure_buffer_latency() and the c/c++ sample DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums