← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1952409] Re: SQLAlchemy "ConnectionEvents.before_execute" signature has changed in 1.4

 

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

commit d3990468b9ffd2a5c780ed9801fe1f7428475990
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Nov 26 10:25:58 2021 +0000

    Change signature of "sqlalchemy.events.ConnectionEvents.before_execute"
    
    New method signature is:
      def before_execute(conn, clauseelement, multiparams, params,
                         execution_options)
    
    Closes-Bug: #1952409
    Change-Id: I817c04ffe97ff03f60ff63d38471e48d7c63ceb7


** 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/1952409

Title:
  SQLAlchemy "ConnectionEvents.before_execute" signature has changed in
  1.4

Status in neutron:
  Fix Released

Bug description:
  ``sqlalchemy.events.ConnectionEvents.before_execute`` method signature
  has changed in version 1.4. Warning message:

  SADeprecationWarning: The argument signature for the "ConnectionEvents.before_execute" event listener has changed as o
  f version 1.4, and conversion for the old argument signature will be removed in a future release.  The new signature is "def before_execute(conn, clauseelement, multiparams, params, execution_options)"

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



References