diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2020-01-20 16:18:19 +0000 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-04-08 12:47:01 +0000 |
commit | 58784943f73b00b2c7f32dfe1f7206c526ab94f5 (patch) | |
tree | f2043cb85c0c0ab604dffd7ca62c8e0461a7d5cd /requirements.txt | |
parent | e487b05f7e451af4f29699c3b34d9d2cc1b1205a (diff) | |
download | nova-58784943f73b00b2c7f32dfe1f7206c526ab94f5.tar.gz |
api: Add framework for extra spec validation
Add the validation framework necessary to verify extra specs along with
the definitions for every extra spec we currently recognize in-tree.
None of this is currently used since we don't have the API microversions
wired up, but that will come in a future patch.
Note that we must add the H238 hacking check to the ignore list here,
since this includes our first use of Python 3-type classes without the
explicit 'object' subclass. This can be removed when that check is
removed from hacking.
Part of blueprint flavor-extra-spec-validators
Change-Id: Ib64a1348cce1dca995746214616c4f33d9d664bd
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt index ec11b519eb..099f7cabd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -71,3 +71,4 @@ python-dateutil>=2.5.3 # BSD zVMCloudConnector>=1.3.0;sys_platform!='win32' # Apache 2.0 License futurist>=1.8.0 # Apache-2.0 openstacksdk>=0.35.0 # Apache-2.0 +dataclasses>=0.7;python_version=='3.6' # Apache 2.0 License |