A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/oracle/python-cx_Oracle/issues/293 below:

Passing mode=None to cx_Oracle.connect() · Issue #293 · oracle/python-cx_Oracle · GitHub

https://cx-oracle.readthedocs.io/en/latest/module.html#cx_Oracle.Connection states that the default value for the mode parameter of cx_Oracle.connect is None. However when I do

db = cx_Oracle.connect("...", mode=None)

I get

TypeError: an integer is required (got type NoneType)

I guess that none of the constant listed in the documentation (SYSDBA, SYSASM, SYSOPER, SYSBKP, SYSDGD, SYSKMT or SYSRAC) gives me a "normal" connection, so a constant could be added for "normal" connection. But IMHO it would be better if mode=None was supported in the connect call.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4