diff --git a/.gitignore b/.gitignore index dfdbb0e..16f66c2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /.venv *.egg-info *.py[co] +.idea diff --git a/cmake_file_api/kinds/api.py b/cmake_file_api/kinds/api.py index 9346f6b..cd477b0 100644 --- a/cmake_file_api/kinds/api.py +++ b/cmake_file_api/kinds/api.py @@ -1,6 +1,5 @@ from pathlib import Path from typing import Protocol -from typing_extensions import Self from .kind import ObjectKind from .cache.api import CACHE_API @@ -14,7 +13,7 @@ class CMakeApiType(Protocol): KIND: ObjectKind @classmethod - def from_path(cls, path: Path, reply_path: Path) -> Self: + def from_path(cls, path: Path, reply_path: Path) -> "CMakeApiType": ... OBJECT_KINDS_API: dict[ObjectKind, dict[int, CMakeApiType]] = {