Spaces:
Runtime error
Runtime error
Show Pandas df
Browse files
utils.py
CHANGED
|
@@ -200,7 +200,9 @@ def execute_workflow(generate_config, component=None, log_components=None):
|
|
| 200 |
log_components["analyzer"].write([vars(response) for response in analyzer_response_list])
|
| 201 |
|
| 202 |
sink_response_list = sink.send_data(analyzer_response_list, sink_config)
|
| 203 |
-
if
|
|
|
|
|
|
|
| 204 |
log_components["sink"].write([vars(response) for response in sink_response_list])
|
| 205 |
else:
|
| 206 |
log_components["sink"].write("No Data")
|
|
|
|
| 200 |
log_components["analyzer"].write([vars(response) for response in analyzer_response_list])
|
| 201 |
|
| 202 |
sink_response_list = sink.send_data(analyzer_response_list, sink_config)
|
| 203 |
+
if sink.TYPE == 'Pandas':
|
| 204 |
+
log_components["sink"].write(sink_response_list)
|
| 205 |
+
elif sink_response_list is not None:
|
| 206 |
log_components["sink"].write([vars(response) for response in sink_response_list])
|
| 207 |
else:
|
| 208 |
log_components["sink"].write("No Data")
|