from typing import Tuple
from typing import Any


def _args_to_str(args: Tuple[Any, ...]) -> Tuple[str, ...]:
    """Convert function arguments to str."""
    out = []
    for arg in args:
        try:
            out.append(str(arg._obj))
        except AttributeError:
            out.append(arg)
    return tuple(out)