diff --git a/volatility3/framework/interfaces/objects.py b/volatility3/framework/interfaces/objects.py index 3cc23e759..d1f442d69 100644 --- a/volatility3/framework/interfaces/objects.py +++ b/volatility3/framework/interfaces/objects.py @@ -243,11 +243,10 @@ class ObjectInterface(metaclass = abc.ABCMeta): @classmethod @abc.abstractmethod - def child_template(cls, template: 'Template', child: str) -> interfaces.objects.Template: + def child_template(cls, template: 'Template', child: str) -> 'interfaces.objects.Template': """Returns the template of the child member from the parent.""" raise KeyError(f"Template does not contain any children: {template.vol.type_name}") - @classmethod @abc.abstractmethod def has_member(cls, template: 'Template', member_name: str) -> bool: