from typing import Any


def _any2str(x: Any) -> str:
    """Simple string casting for the purpose of our dict2argterms function."""
    if x is None:
        return 'None'
    if isinstance(x, str):
        return "'" + str(x) + "'" 
    return str(x)