Comment type annotation to fix circular import

This commit is contained in:
David McDonald
2025-03-29 15:49:33 -05:00
parent a3353a3cb6
commit f72b717c00
@@ -191,7 +191,7 @@ class CM_KEY_NODE(objects.StructType):
yield from self._get_subkeys_recursive(hive, subkey_node)
def _get_subkeys_recursive(
self, hive: registry.RegistryHive, node: interfaces.objects.ObjectInterface
self, hive: "registry.RegistryHive", node: interfaces.objects.ObjectInterface
) -> Iterator["CM_KEY_NODE"]:
"""Recursively descend a node returning subkeys."""
# The keylist appears to include 4 bytes of key name after each value