← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2012705] Re: [sqlalchemy-20] Unexpected keyword argument "when" in "sqlalchemy.case" method

 

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

commit f42f1cfa69fc3e90f4a3cb47dc2356bb68d43983
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Mar 23 06:56:13 2023 +0100

    [sqlalchemy-20] Provide SQL "case" expression correct input paremeters
    
    The "case" expression, as implemented in SQLAlchemy, consists in a set
    of tuples of two elements: a column expression and a value. From the
    SQLAlchemy "case" signature:
      *whens: Union[
          typing_Tuple[_ColumnExpressionArgument[bool], Any],
          Mapping[Any, Any],
      ],
    
    Closes-Bug: #2012705
    Change-Id: I2dfc497f0ac9cb4279cae7f851463c6721bf9d77


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

Title:
  [sqlalchemy-20] Unexpected keyword argument "when" in
  "sqlalchemy.case" method

Status in neutron:
  Fix Released

Bug description:
  Logs:
  https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_f76/878480/2/experimental/neutron-
  functional-with-sqlalchemy-master/f76c503/testr_results.html

  Snippet: https://paste.opendev.org/show/bjRvmbYo8PG1RrjjIp5W/

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



References