Skip to content

Commit 72b1e91

Browse files
committed
fix: move Self import to TYPE_CHECKING for Python 3.10 compat
1 parent 8dc8586 commit 72b1e91

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

codeflash/code_utils/worktree_pool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
import shutil
77
import stat
88
from pathlib import Path
9-
from typing import TYPE_CHECKING, Any, Self
9+
from typing import TYPE_CHECKING, Any
1010

1111
import anyio
1212

1313
if TYPE_CHECKING:
1414
from collections.abc import Callable
15+
from typing import Self
1516

1617
from codeflash.cli_cmds.console import logger
1718
from codeflash.code_utils.git_utils import git_root_dir, mirror_path

0 commit comments

Comments
 (0)