← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2020114] Re: [sqlalchemy-20] ``Engine`` class no longer inherits from ``Connectable``

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/883521
Committed: https://opendev.org/openstack/neutron/commit/0b67da59c6d8843bab7bee87621990e0340ac9ec
Submitter: "Zuul (22348)"
Branch:    master

commit 0b67da59c6d8843bab7bee87621990e0340ac9ec
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu May 18 03:33:10 2023 +0200

    [sqlalchemy-20] Open a connection to execute a command
    
    ``Engine`` class no longer inherits from ``Connectable``. In order to
    execute a SQL command, it is needed to start a connection and then
    being a transaction. At this point, it is possible to execute a
    command from the connection object.
    
    Closes-Bug: #2020114
    
    Change-Id: Id1dcf338bf04e6eef73cc447698ec6d2100abd96


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2020114

Title:
  [sqlalchemy-20] ``Engine`` class no longer inherits from
  ``Connectable``

Status in neutron:
  Fix Released

Bug description:
  The class ``Engine`` no longer inherits from ``Connectable`` class. In
  order to execute a command, it is needed first to create a connection
  and then begin a transaction with this connection. The connection
  object (class ``Connection``) can execute a command if a transaction
  is open.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2020114/+subscriptions



References