Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: delete redundant api/libs/typing.py (#35890)

Escape0707c6a5de3c18d4
diff --git a/api/libs/typing.py b/api/libs/typing.py
deleted file mode 100644
index f84e9911e01..00000000000
--- a/api/libs/typing.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from typing import TypeGuard
-
-
-def is_str_dict(v: object) -> TypeGuard[dict[str, object]]:
- return isinstance(v, dict)
-
-
-def is_str(v: object) -> TypeGuard[str]:
- return isinstance(v, str)