import_email_validator
Attempts to import the email_validator package globally and validates that the installed version is 2.x, raising an ImportError with installation instructions if the dependency is missing or outdated.
def import_email_validator() - > None
Ensures the 'email-validator' package is installed and meets the minimum version requirement of 2.0. This function updates the global namespace and raises an ImportError with installation instructions if the dependency is missing or outdated.
Returns
| Type | Description |
|---|---|
None | Nothing is returned; the function is used for its side effect of validating environment dependencies. |