def get_name(arg: Any) -> str:
    if isinstance(arg, inspect.Parameter):
        return arg.name
    if isinstance(arg, nodes.Argument):
        return arg.variable.name
    raise AssertionError
def get_name(arg: Any) -> str:
    if isinstance(arg, inspect.Parameter):
        return arg.name
    if isinstance(arg, nodes.Argument):
        return arg.variable.name
    raise AssertionError