cd3e5a23c9
Resolve the following RemovedIn20Warning warnings: The Executable.scalar() method is considered legacy as of the 1.x series of SQLAlchemy and will be removed in 2.0. Scalar execution in SQLAlchemy 2.0 is performed by the Connection.scalar() method of Connection, or in the ORM by the Session.scalar() method of Session. The Executable.execute() method is considered legacy as of the 1.x series of SQLAlchemy and will be removed in 2.0. All statement execution in SQLAlchemy 2.0 is performed by the Connection.execute() method of Connection, or in the ORM by the Session.execute() method of Session. Note that while we're resolving these issues, we also head off other issues that are currently ignored but will ultimately need to be resolved such as switching to the modern calling style of 'select()' Change-Id: Idebcba02a6704df21e5520fdbf60296b8187e79c Signed-off-by: Stephen Finucane <stephenfin@redhat.com>