← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1173133] Re: SQLAlchemy Query can be used as an iterable to avoid creation of a list

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

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

Title:
  SQLAlchemy Query can be used as an iterable to avoid creation of a
  list

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  A Query.all() call creates a list of a DB query results.  We can
  actually use a Query instance as an iterable and thus avoid creation
  of a list if we just need to iterate over those values only once.

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