(etype: Type[_E], name: str, default: _T1)
Return an Enum member by `name`. If no such member exists in `etype`
    return `default`.
Return an Enum member by `name`. If no such member exists in `etype`
    return `default`.
Return an Enum member by name . If no such member exists in etype return default .
def enum_get(etype: Type[_E], name: str, default: _T1) -> Union[_E, _T1]:
    """
    Return an Enum member by `name`. If no such member exists in `etype`
    return `default`.
    """
    try:
        return etype[name]
    except LookupError:
        return default
def enum_get ( etype : Type [ _E ] , name : str , default : _T1 ) -> Union [ _E , _T1 ] : try : return etype [ name ] except LookupError : return default