From 8088565768f70f9e9e13cf89b275f6c353b901b4 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 30 Jun 2023 17:05:51 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(test=5Fchains=5Ftemplat?= =?UTF-8?q?e.py):=20remove=20unused=20import=20of=20Serializable=20The=20i?= =?UTF-8?q?mport=20of=20the=20Serializable=20class=20is=20no=20longer=20ne?= =?UTF-8?q?eded=20in=20the=20test=5Fchains=5Ftemplate.py=20file,=20so=20it?= =?UTF-8?q?=20has=20been=20removed=20to=20improve=20code=20cleanliness=20a?= =?UTF-8?q?nd=20remove=20unnecessary=20dependencies.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_chains_template.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_chains_template.py b/tests/test_chains_template.py index 63e236018..1c28f6536 100644 --- a/tests/test_chains_template.py +++ b/tests/test_chains_template.py @@ -23,7 +23,6 @@ def test_conversation_chain(client: TestClient): "ConversationChain", "LLMChain", "Chain", - "Serializable", "function", } @@ -108,7 +107,6 @@ def test_llm_chain(client: TestClient): # Test the base classes, template, memory, verbose, llm, input_key, output_key, and _type objects assert set(chain["base_classes"]) == { - "Serializable", "function", "LLMChain", "Chain", @@ -176,7 +174,6 @@ def test_llm_checker_chain(client: TestClient): # Test the base classes, template, memory, verbose, llm, input_key, output_key, and _type objects assert set(chain["base_classes"]) == { - "Serializable", "function", "LLMCheckerChain", "Chain", @@ -211,7 +208,6 @@ def test_llm_math_chain(client: TestClient): # Test the base classes, template, memory, verbose, llm, input_key, output_key, and _type objects assert set(chain["base_classes"]) == { "function", - "Serializable", "LLMMathChain", "Chain", }