code: def get_targeted(
      self, target: str, type_constraint: Type = None
  ) -> Optional[Union[Dict[Type, Set[Type]], Set[Type]]]:
      x = self._targets.get(target)
      if x is None or type_constraint is None:
          return x
      return x.get(type_constraint)
  
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 7 for calling the Registry obj's underlying member method code with example usage: obj.get_targeted(target, type_constraint) and returns: x, x