Merge pull request #409 from zsuroy/patch-1

Update oracle_impl.py
This commit is contained in:
zrguo 2024-12-06 11:08:29 +08:00 committed by GitHub
commit 3264fa0577
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: