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
+1
View File
@@ -451,6 +451,7 @@ class Enumeration(interfaces.objects.ObjectInterface, int):
raise NotImplementedError("Writing to Enumerations is not yet implemented")
class VolTemplateProxy(interfaces.objects.ObjectInterface.VolTemplateProxy):
_methods = ['lookup']
@classmethod
def lookup(cls, template: interfaces.objects.Template, value: int) -> str: