From 58784943f73b00b2c7f32dfe1f7206c526ab94f5 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 20 Jan 2020 16:18:19 +0000 Subject: 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 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'requirements.txt') 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 -- cgit v1.2.1