File "/home/ron/git/OraclePool/oracle_pool.py", line 172, in
demo()
File "/home/ron/git/OraclePool/oracle_pool.py", line 167, in demo
result = orcl.fetch_all(sql)
File "/home/ron/git/OraclePool/oracle_pool.py", line 117, in fetch_all
conn, cursor = self.__execute(sql, args)
File "/home/ron/git/OraclePool/oracle_pool.py", line 106, in __execute
cursor.execute(sql, args)
File "/home/ron/git/OraclePool/venv/lib/python3.6/site-packages/DBUtils/SteadyDB.py", line 605, in tough_method
result = method(*args, **kwargs) # try to execute
TypeError: expecting a dictionary, sequence or keyword args`
尝试有来查询一下数据,发现这个错误,完全没有头绪。请指点一下。 python 3.6
`/home/ron/git/OraclePool/venv/bin/python /home/ron/git/OraclePool/oracle_pool.py Traceback (most recent call last):
File "/home/ron/git/OraclePool/oracle_pool.py", line 172, in
demo()
File "/home/ron/git/OraclePool/oracle_pool.py", line 167, in demo result = orcl.fetch_all(sql)
File "/home/ron/git/OraclePool/oracle_pool.py", line 117, in fetch_all conn, cursor = self.__execute(sql, args)
File "/home/ron/git/OraclePool/oracle_pool.py", line 106, in __execute cursor.execute(sql, args)
File "/home/ron/git/OraclePool/venv/lib/python3.6/site-packages/DBUtils/SteadyDB.py", line 605, in tough_method result = method(*args, **kwargs) # try to execute TypeError: expecting a dictionary, sequence or keyword args`