diff --git a/src/backend/langflow/utils/util.py b/src/backend/langflow/utils/util.py index 1778e42cb..1c7a7f094 100644 --- a/src/backend/langflow/utils/util.py +++ b/src/backend/langflow/utils/util.py @@ -473,11 +473,3 @@ def build_loader_repr_from_documents(documents: List[Document]) -> str: \nAvg. Document Length (characters): {int(avg_length)} Documents: {documents[:3]}...""" return "0 documents" - - -def get_type_from_union_literal(union_literal: str) -> str: - # if types are literal strings - # the type is a string - if "Literal" in union_literal: - return "str" - return union_literal