Skip to content

Supprime des warnings de SQLAlchemy

Ronan Amicel requested to merge remove-sqlalchemy-deprecation-warnings into main
RemovedIn20Warning: Passing a string to Connection.execute() is deprecated and will be removed in version 2.0.  Use the text() construct, or the Connection.exec_driver_sql() method to invoke a driver-level SQL string.
The current statement is being autocommitted using implicit autocommit, which will be removed in SQLAlchemy 2.0. Use the .begin() method of Engine or Connection in order to use an explicit transaction for DML and DDL statements.

Merge request reports