diff options
author | Chris Dent <cdent@anticdent.org> | 2019-09-02 12:44:50 +0100 |
---|---|---|
committer | Chris Dent <cdent@anticdent.org> | 2019-09-02 14:33:57 +0100 |
commit | 8ed9c9434fb5911f57a30a7000b30b17d9840aa0 (patch) | |
tree | 005365e7594700e4bdf1bbdfa6685ee10ca15a27 /requirements.txt | |
parent | ef6e49d5bc721840b331c87c6391a69309253ade (diff) | |
download | nova-8ed9c9434fb5911f57a30a7000b30b17d9840aa0.tar.gz |
Tune up db.instance_get_all_uuids_by_hosts
When instance_get_all_uuids_by_hosts was added [1] some follow up
cleanups where suggested. This change provides them:
* removal of redundance in docstring
* moving docstring to the public method, rather than the private
implementation
* more clarity on the type of the default (defaultdict(list)) and
the implications thereof
* Using an sa.bindparam in the 'in_' call. This requires that the
SQLAlchemy requirment be raised to at least 1.2.0 where the feature
was added. 1.2.19, the latest bugfix release, is chosen.
[1] If92fe8b75d20a738f37e2a74c52c59bfc699a74f
Change-Id: Ib538ab070d73b06ddeb9fea3af149304e40952ec
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt index 2849da6252..ca308300c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT +SQLAlchemy>=1.2.19 # MIT decorator>=3.4.0 # BSD eventlet!=0.20.1,>=0.20.0 # MIT Jinja2>=2.10 # BSD License (3 clause) |