def METHOD_NAME(code: list) -> NotebookNode:
    """Creates a NotebookNode object with provided list as code in node.
    Args:
        code: list representing lines of code to be run.
    Returns:
        NotebookNode with specified file as code within node.
    """
    cell = new_code_cell("\n".join(code))
    cell.get("metadata")["hide_logging"] = False
    return cell