Support passing through functions from specific to generic template.

This commit is contained in:
Mike Auty
2019-08-10 00:25:21 +01:00
parent b2da35c05a
commit 4cde0da8a9
3 changed files with 6 additions and 5 deletions
@@ -174,6 +174,7 @@ class ObjectInterface(metaclass = ABCMeta):
Each method also takes a template since the templates may contain the necessary data about the
yet-to-be-constructed object. It allows objects to control how their templates respond without needing to write
new templates for each and every potental object type."""
_methods = []
@classmethod
@abc.abstractmethod