from typing import Optional
from typing import Tuple


def get_results(conn, query: str, values: Optional[Tuple] = None):
    """Returns the results from a provided query at a given connection"""
    cursor = conn.cursor()
    cursor.execute(query, values)
    results = list(cursor)
    return results