code: def _register_one(self, input_type, module_base, module_args):
      if len(module_args) == 0:
          self._reg.setdefault(module_base, []).append(input_type)
          return
  
      target_reg = self._reg.setdefault(module_base, {})
      # Seek to the given type
      for subtype in module_args[0:-1]:
          target_reg = target_reg.setdefault(subtype, {})
      target_reg.setdefault(module_args[-1], []).append(input_type)
  
file_path: Ciphey/ciphey/iface/_registry.py
imports: from typing import Any, Dict, List, Optional, Set, Tuple, Type, Union
  from .None import _fwd
  from ._modules import *
label_desc: Use image node_id 1 for calling the Registry obj's underlying member method code with example usage: obj._register_one(input_type, module_base, module_args) without return types