Remove unused local symbols (#1946)

remove unused local symbols in inspection

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
chyok 2024-05-23 22:56:17 +08:00 committed by GitHub
commit ece3686767
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View file

@ -159,7 +159,6 @@ async def build_vertex(
)
else:
graph = cache.get("result")
ResultDataResponse(results={})
vertex = graph.get_vertex(vertex_id)
try:
lock = chat_service._cache_locks[flow_id_str]

View file

@ -112,7 +112,6 @@ async def simplified_run_flow(
try:
flow_id_str = str(flow_id)
task_result: List[RunOutputs] = []
artifacts = {}
if input_request.session_id:
session_data = await session_service.load_session(input_request.session_id, flow_id=flow_id_str)
@ -240,7 +239,6 @@ async def experimental_run_flow(
if outputs is None:
outputs = []
task_result: List[RunOutputs] = []
artifacts = {}
if session_id:
session_data = await session_service.load_session(session_id, flow_id=flow_id_str)