diff --git a/anta/input_models/interfaces.py b/anta/input_models/interfaces.py index 70bd84f174..76a5fbca62 100644 --- a/anta/input_models/interfaces.py +++ b/anta/input_models/interfaces.py @@ -15,9 +15,9 @@ import sys if sys.version_info >= (3, 11): - from typing import Self + pass else: - from typing_extensions import Self + pass class InterfaceState(BaseModel):