Allow VolTemplateProxies to include additional useful methods.

This commit is contained in:
Mike Auty
2019-04-17 23:53:36 +01:00
parent e5d6cd3d16
commit 8c76a25b2d
3 changed files with 15 additions and 5 deletions
-1
View File
@@ -413,7 +413,6 @@ class Enumeration(interfaces.objects.ObjectInterface, int):
self._vol['base_type'] = base_type
@classmethod
@functools.lru_cache(maxsize = 128)
def _generate_inverse_choices(cls, choices: Dict[str, int]) -> Dict[int, str]:
"""Generates the inverse choices for the object"""
inverse_choices = {} # type: Dict[int, str]