Timothyxxx commited on
Commit
0ab286c
1 Parent(s): e75ae3a

Add stamp in nPython Executor

Browse files
Files changed (1) hide show
  1. nsql/nsql_exec_python.py +1 -1
nsql/nsql_exec_python.py CHANGED
@@ -16,7 +16,7 @@ class NPythonExecutor(object):
16
  self.new_col_name_id = 0
17
  self.qa_model = OpenAIQAModel(args, keys)
18
 
19
- def nsql_exec(self, nsql: str, db: pd.DataFrame, verbose=True):
20
  # Add import part
21
  import_part = """import sys
22
  import random
 
16
  self.new_col_name_id = 0
17
  self.qa_model = OpenAIQAModel(args, keys)
18
 
19
+ def nsql_exec(self, stamp, nsql: str, db: pd.DataFrame, verbose=True):
20
  # Add import part
21
  import_part = """import sys
22
  import random