File size: 344 Bytes
646e683 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from typing import TYPE_CHECKING, Any, cast
if TYPE_CHECKING:
from core.tools.tool_file_manager import ToolFileManager
tool_file_manager: dict[str, Any] = {"manager": None}
class ToolFileParser:
@staticmethod
def get_tool_file_manager() -> "ToolFileManager":
return cast("ToolFileManager", tool_file_manager["manager"])
|