fix error for python version 3.9

This commit is contained in:
2026-03-21 10:32:31 +01:00
parent 8fbf5db607
commit b932989e08
+3 -3
View File
@@ -1,8 +1,8 @@
import logging
import os
import sys
import logging
from pathlib import Path
from typing import Iterable, List, Optional, Set, Any
from typing import Iterable, List, Optional, Set, Any, Union
# Ensure project root is on sys.path so imports like 'src.*' work when running this
# file directly (python src/utils/contacts/check_email_existence.py)
@@ -41,7 +41,7 @@ def _normalize_email(email: Optional[str]) -> Optional[str]:
def check_email_existence(
file_path: str | Path,
file_path: Union[str, Path],
mail_list: Iterable,
exclude_domains: Optional[Set[str]] = None,
verbose: bool = True,