Add in a reminder for additional work required.

This commit is contained in:
Mike Auty
2016-08-22 02:27:13 +01:00
parent 3dc161f9b4
commit 3a07d6810b
@@ -183,6 +183,7 @@ class ConfigurableInterface(validity.ValidityRoutines, metaclass = ABCMeta):
# This also allows constructed objects to populate a configuration without too much trouble
for requirement in self.get_requirements():
# Create the (private) properties using the config as backend storage
# TODO: Based on the requirement, do proper type checking
setattr(self, "_" + requirement.name, self.config.get(requirement.name, requirement.default))
@property