From 30610b6cd5491486fa11a6306acd3705caada1d2 Mon Sep 17 00:00:00 2001 From: Maruf <36636180+madridist20@users.noreply.github.com> Date: Mon, 16 Jan 2023 20:59:33 +0500 Subject: [PATCH] Add callfunc --- cx_Oracle_async/cursors.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cx_Oracle_async/cursors.py b/cx_Oracle_async/cursors.py index bcd0f0b..4a32dd1 100644 --- a/cx_Oracle_async/cursors.py +++ b/cx_Oracle_async/cursors.py @@ -43,3 +43,6 @@ async def var(self, args): async def callproc(self, *args , **kwargs): return await self._loop.run_in_executor(self._thread_pool , self._cursor.callproc, *args , **kwargs) + + async def callfunc(self, *args, **kwargs): + return await self._loop.run_in_executor(self._thread_pool, self._cursor.callfunc, *args, **kwargs)