code: def _after_cursor_execute(conn, cursor, statement, parameters,
                            context, executemany):
      
      _tracer = execution_context.get_opencensus_tracer()
      _tracer.end_span()
docs: Intercept low-level cursor execute() events after execution.
      If executemany is True, this is an executemany call, else an execute call.
  
      See: http://docs.sqlalchemy.org/en/latest/core/events.html#sqlalchemy.
           events.ConnectionEvents.after_cursor_execute