def METHOD_NAME(line: str, local_ns: dict):
    """
    Msticpy SaveToCell IPython magic extension.
    Parameters
    ----------
    line : str, optional
        Line contents, by default ""
    """
    args = magic_arguments.parse_argstring(METHOD_NAME, line)
    print(args)
    print(type(args.object))
    obj = local_ns.get(args.object)
    if obj is None:
        raise ValueError(f"Variable '{args.object}' not found.")
    save_obj_to_cell(obj, args.var_name)