def METHOD_NAME(
    self, internal_groups_client: InternalGroupsClient, group_names: Iterable[str]
) -> list[Group]:
    groups = []
    for group_name in group_names:
        try:
            groups.append(internal_groups_client.group(group_name))
        except NotFound:
            pass
    return groups