def reveal_command_args(args):
    # type: (Union[List[str], CommandArgs]) -> List[str]
    """
    Return the arguments in their raw, unredacted form.
    """
    return [
        arg.secret if isinstance(arg, HiddenText) else arg for arg in args
    ]

    Return the arguments in their raw, unredacted form.
    
product/gradle-plugin/src/main/python/pip/_internal/utils/subprocess.py