1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 19:32:34 +01:00

fw/ConfigutationPoints: Add support for deprecated parameters

Allow specifying a ConfigutationPoint is deprecated. This means that any
supplied configuration will not be used however execution will continue
with a warning displayed to the user.
This commit is contained in:
Marc Bonnici
2020-02-10 11:47:33 +00:00
parent 5f00a94121
commit d0f099700a
3 changed files with 24 additions and 6 deletions

View File

@@ -246,7 +246,7 @@ class Plugin(with_metaclass(PluginMeta, object)):
@classmethod
def get_default_config(cls):
return {p.name: p.default for p in cls.parameters}
return {p.name: p.default for p in cls.parameters if not p.deprecated}
@property
def dependencies_directory(self):