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