fix: fix lint and formatting

This commit is contained in:
Ibis Prevedello 2023-04-10 12:01:13 -03:00
commit 81c634f839
2 changed files with 5 additions and 5 deletions

View file

@ -1,13 +1,13 @@
import contextlib import contextlib
import functools
import hashlib
import json import json
import os import os
import tempfile import tempfile
from collections import OrderedDict
from pathlib import Path from pathlib import Path
import dill # type: ignore import dill # type: ignore
import functools
from collections import OrderedDict
import hashlib
def memoize_dict(maxsize=128): def memoize_dict(maxsize=128):

View file

@ -3,6 +3,7 @@ from typing import Type, Union
import pytest import pytest
from langchain.agents import AgentExecutor from langchain.agents import AgentExecutor
from langchain.llms.fake import FakeListLLM
from langflow.graph import Edge, Graph, Node from langflow.graph import Edge, Graph, Node
from langflow.graph.nodes import ( from langflow.graph.nodes import (
AgentNode, AgentNode,
@ -14,9 +15,8 @@ from langflow.graph.nodes import (
ToolNode, ToolNode,
WrapperNode, WrapperNode,
) )
from langflow.utils.payload import build_json, get_root_node
from langflow.interface.run import get_result_and_thought_using_graph from langflow.interface.run import get_result_and_thought_using_graph
from langchain.llms.fake import FakeListLLM from langflow.utils.payload import build_json, get_root_node
# Test cases for the graph module # Test cases for the graph module