def get_records(
    project: TestProjInfo, table: str, select: str = None, where: str = None
) -> List[tuple]:
    """
    Gets records from a single table in a dbt project

    Args:
        project: the dbt project that contains the table
        table: the name of the table without a schema
        select: the selection clause; defaults to all columns (*)
        where: the where clause to apply, if any; defaults to all records

    Returns:
        A list of records with each record as a tuple
    """
    table_name = relation_from_name(project.adapter, table)
    select_clause = select or "*"
    where_clause = where or "1 = 1"
    sql = f"""
        select {select_clause}
        from {table_name}
        where {where_clause}
    """
    return [tuple(record) for record in project.run_sql(sql, fetch="all")]

    Gets records from a single table in a dbt project

    Args:
        project: the dbt project that contains the table
        table: the name of the table without a schema
        select: the selection clause; defaults to all columns (*)
        where: the where clause to apply, if any; defaults to all records

    Returns:
        A list of records with each record as a tuple
    
tests/functional/adapter/simple_snapshot/common.py