From 96968e0d930b4ff97d2d7476f550998882ae054d Mon Sep 17 00:00:00 2001 From: Edvard Rejthar Date: Wed, 25 Sep 2024 18:31:09 +0200 Subject: [PATCH] WIP2 --- mininterface/types.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mininterface/types.py b/mininterface/types.py index a2bae30..728084d 100644 --- a/mininterface/types.py +++ b/mininterface/types.py @@ -1,6 +1,6 @@ from dataclasses import dataclass from pathlib import Path -from typing import Callable, override +from typing import Callable from typing_extensions import Self from .tag import Tag, ValidationResult, TagValue @@ -67,7 +67,6 @@ def __post_init__(self): super().__post_init__() self.annotation = list[Path] if self.multiple else Path - @override def _morph(self, class_type: "Self", morph_if: type): if class_type == PathTag: return self