17a6c571dc
Resolve the following RemovedIn20Warning warning: 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. There's only a single case of this, though we take the opportunity to remove some unnecessary contextlib.closing calls: the Connection object already supports being called as a context manager. Change-Id: Ic8594773acbc3ff52469d6585d348076d13da67e Signed-off-by: Stephen Finucane <stephenfin@redhat.com>