Update processor.py
Browse files- processor.py +1 -1
processor.py
CHANGED
|
@@ -305,7 +305,7 @@ class DatasetCommandCenter:
|
|
| 305 |
# Lazy Context Creation: Only pay the cost if used
|
| 306 |
eval_context = row.copy()
|
| 307 |
eval_context['row'] = row
|
| 308 |
-
val = eval(
|
| 309 |
print(val)
|
| 310 |
new_row[target_col] = requests.post(col_def['rurl'], json=val).text
|
| 311 |
|
|
|
|
| 305 |
# Lazy Context Creation: Only pay the cost if used
|
| 306 |
eval_context = row.copy()
|
| 307 |
eval_context['row'] = row
|
| 308 |
+
val = eval(col_def['rpay'], {}, eval_context)
|
| 309 |
print(val)
|
| 310 |
new_row[target_col] = requests.post(col_def['rurl'], json=val).text
|
| 311 |
|