Browse Source

fix: ruff

Yeuoly 6 months ago
parent
commit
d815c74fc5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      api/core/tools/workflow_as_tool/tool.py

+ 1 - 2
api/core/tools/workflow_as_tool/tool.py

@@ -1,8 +1,7 @@
 import json
 import logging
 from collections.abc import Generator
-from typing import Any, Optional, Union
-from typing import cast
+from typing import Any, Optional, Union, cast
 
 from core.file import FILE_MODEL_IDENTITY, File, FileTransferMethod
 from core.tools.__base.tool import Tool