-
Notifications
You must be signed in to change notification settings - Fork 361
Closed
Labels
enhancementpatch availableAwaiting inclusion in official releaseAwaiting inclusion in official release
Description
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.
Metadata
Metadata
Assignees
Labels
enhancementpatch availableAwaiting inclusion in official releaseAwaiting inclusion in official release