Update process_data.py
Browse files- process_data.py +3 -2
process_data.py
CHANGED
|
@@ -219,8 +219,9 @@ def generate_json_pieces(input_data, parameters):
|
|
| 219 |
print(combined_json) # debugging
|
| 220 |
|
| 221 |
pretty_json = combined_json.json()
|
| 222 |
-
|
| 223 |
-
|
|
|
|
| 224 |
except Exception as e:
|
| 225 |
return {"error": "Failed to generate valid JSON. " + str(e)}
|
| 226 |
|
|
|
|
| 219 |
print(combined_json) # debugging
|
| 220 |
|
| 221 |
pretty_json = combined_json.json()
|
| 222 |
+
|
| 223 |
+
# this is a hack because i need to make the other two schemas still
|
| 224 |
+
return pretty_json, pretty_json, pretty_json
|
| 225 |
except Exception as e:
|
| 226 |
return {"error": "Failed to generate valid JSON. " + str(e)}
|
| 227 |
|