I am using the below simple code to connect to Oracle database to execute a stored procedure. But am not seeing any timeout parameter anywhere while connecting to DB or executing the stored procedure using the callproc
function.
Can someone please suggest how to implement "timeout" in python for Oracle!
self.db_connection = cx_Oracle.connect(self.connection_str)
try:
if self.cursor is None:
self.cursor = self.db_connection.cursor()
except:
raise