Refactor the get_schema call to make more sense.

This commit is contained in:
Mike Auty
2016-07-29 02:56:20 +01:00
parent 4f17143fd3
commit bb2dd859d5
9 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ class PluginInterface(configuration_interface.ConfigurableInterface, validity.Va
return self._context
@classmethod
def get_schema(cls):
"""Returns a list of configuration schema items"""
def get_requirements(cls):
"""Returns a list of Requirement objects for this plugin"""
return []
def validate_inputs(self):