18 lines
655 B
Python
18 lines
655 B
Python
|
|
"""Import shim for configure-network-validation.py (hyphenated filename)."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
import importlib.util
|
||
|
|
from pathlib import Path
|
||
|
|
_impl_path = Path(__file__).with_name("configure-network-validation.py")
|
||
|
|
_spec = importlib.util.spec_from_file_location("_configure_network_validation_impl", _impl_path)
|
||
|
|
if _spec is None or _spec.loader is None:
|
||
|
|
raise ImportError(f"Cannot load {_impl_path}")
|
||
|
|
_impl = importlib.util.module_from_spec(_spec)
|
||
|
|
_spec.loader.exec_module(_impl)
|
||
|
|
|
||
|
|
ConfigurationValidator = _impl.ConfigurationValidator
|
||
|
|
ValidationError = _impl.ValidationError
|
||
|
|
|
||
|
|
__all__ = ["ConfigurationValidator", "ValidationError"]
|