You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tool_file_parser.py 313B

123456789101112
  1. from typing import TYPE_CHECKING, Any
  2. if TYPE_CHECKING:
  3. from core.tools.tool_file_manager import ToolFileManager
  4. tool_file_manager: dict[str, Any] = {"manager": None}
  5. class ToolFileParser:
  6. @staticmethod
  7. def get_tool_file_manager() -> "ToolFileManager":
  8. return tool_file_manager["manager"]