Skip to content

remove typing extensions #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.venv
*.egg-info
*.py[co]
.idea
3 changes: 1 addition & 2 deletions cmake_file_api/kinds/api.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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]] = {
Expand Down