from bs4 import BeautifulSoup
from typing import List


def find_data_rows(soup: BeautifulSoup) -> List[BeautifulSoup]:
    """Queries the provided BeautifulSoup to find <tr> elements which are inside a <tbody>.
    Exploring the data shows that such rows correspond to vaccine site data
    """

    def is_data_row(tag):
        return tag.name == "tr" and tag.parent.name == "tbody"

    return soup.find_all(is_data_row)