diff --git a/core/types.py b/core/types.py index 5bed83e..2a5ad54 100644 --- a/core/types.py +++ b/core/types.py @@ -3,7 +3,10 @@ from __future__ import annotations from dataclasses import dataclass, field -from pathlib import Path as _Path +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from pathlib import Path as _Path @dataclass(frozen=True)