We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 067fd06 commit c0b68edCopy full SHA for c0b68ed
.gitignore
@@ -5,3 +5,4 @@
5
/.venv
6
*.egg-info
7
*.py[co]
8
+.idea
cmake_file_api/kinds/api.py
@@ -1,6 +1,5 @@
1
from pathlib import Path
2
from typing import Protocol
3
-from typing_extensions import Self
4
from .kind import ObjectKind
from .cache.api import CACHE_API
@@ -14,7 +13,7 @@ class CMakeApiType(Protocol):
14
13
KIND: ObjectKind
15
16
@classmethod
17
- def from_path(cls, path: Path, reply_path: Path) -> Self:
+ def from_path(cls, path: Path, reply_path: Path) -> "CMakeApiType":
18
...
19
20
OBJECT_KINDS_API: dict[ObjectKind, dict[int, CMakeApiType]] = {
0 commit comments