← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942621] Re: Fix SQLAlchemy warnings with version 1.4.14

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/807359
Committed: https://opendev.org/openstack/nova/commit/4c0d3b79ef8ba6625f95907816e2e6f861709b6e
Submitter: "Zuul (22348)"
Branch:    master

commit 4c0d3b79ef8ba6625f95907816e2e6f861709b6e
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Sep 3 15:41:20 2021 +0000

    Set "cache_ok=True" in "TypeDecorator" inheriting classes
    
    By setting this flag to True, it is assumed that the parameters
    passed to the object are safe to be used as a cache.
    
    Closes-Bug: #1942621
    Change-Id: I582c89d8999db304923a51eb28c25f12046a4ebe


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1942621

Title:
  Fix SQLAlchemy warnings with version 1.4.14

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Since [1], released in version 1.4.14, "TypeDecorator.cache_ok" is not
  defined by default. That will emit a warning message.

  [1]https://github.com/zzzeek/sqlalchemy/commit/6967b4502079e199b12f5eb307d10d27ec92d537

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



References