From 0614a936082f2805958394a5530628e30f84cc9c Mon Sep 17 00:00:00 2001 From: Suroy <77138019+zsuroy@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:06:20 +0800 Subject: [PATCH] Update oracle_impl.py Fixed typing error in python3.9 --- lightrag/kg/oracle_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/kg/oracle_impl.py b/lightrag/kg/oracle_impl.py index 8ed73772..34745312 100644 --- a/lightrag/kg/oracle_impl.py +++ b/lightrag/kg/oracle_impl.py @@ -143,7 +143,7 @@ class OracleDB: data = None return data - async def execute(self, sql: str, data: list | dict = None): + async def execute(self, sql: str, data: Union[list, dict] = None): # logger.info("go into OracleDB execute method") try: async with self.pool.acquire() as connection: