Alo*_*lon 5 python oracle cx-oracle sqlalchemy
我正在运行此代码以连接到 Oracle 数据库:
engine = sqlalchemy.create_engine("oracle://user:password@dsn")
engine.execute("select 1 from dual")
Run Code Online (Sandbox Code Playgroud)
我收到错误消息:'twophase' is an invalid keyword argument for this function。
我正在使用 cx_oracle 6.0b1 和 SQLAlchemy 1.10。当我使用 cx_oracle 5.2.1 和 SQLAlchemy 1.1.5 时,代码有效
知道是什么原因造成的吗?