ar9avg commited on
Commit
c2894a4
·
1 Parent(s): aa3ae1f

Fix UnboundLocalError: remove duplicate local import of REPAIR_ACTION_BY_NAME

Browse files
Files changed (1) hide show
  1. backend/api/demo.py +0 -1
backend/api/demo.py CHANGED
@@ -203,7 +203,6 @@ async def execute_query_stream(req: ExecuteQueryRequest):
203
  )
204
  else:
205
  from rl.repair_strategies import RepairContext, get_repair_system_suffix, build_repair_user_message
206
- from env.sql_env import REPAIR_ACTION_BY_NAME
207
 
208
  # Bandit selects action
209
  if ep.current_features is not None:
 
203
  )
204
  else:
205
  from rl.repair_strategies import RepairContext, get_repair_system_suffix, build_repair_user_message
 
206
 
207
  # Bandit selects action
208
  if ep.current_features is not None: