Resolve etype to an actual type if it is a forward reference

def proc_forward(etype, namespace: Dict[str, Any]):
    """ Resolve etype to an actual type if it is a forward reference """
    return etype._eval_type(namespace, namespace) if type(etype) is _ForwardRef else etype