def get_company_commits_by_email_domain()

in osci/crawlers/github/events/parser.py [0:0]


def get_company_commits_by_email_domain(commits: Iterable[PushEventCommit], company: str) -> Iterator[PushEventCommit]:
    return (commit for commit in commits if match_company_by_email(email=commit.author_email) == company)