debug for app.py
Browse files
app.py
CHANGED
@@ -97,6 +97,10 @@ class SearchApplication:
|
|
97 |
if num_search_results > 0:
|
98 |
json_search_results = []
|
99 |
for result in search_results:
|
|
|
|
|
|
|
|
|
100 |
json_data = json.loads(result.raw)
|
101 |
json_search_results.append(json_data)
|
102 |
|
|
|
97 |
if num_search_results > 0:
|
98 |
json_search_results = []
|
99 |
for result in search_results:
|
100 |
+
print(result)
|
101 |
+
print(type(result))
|
102 |
+
print(dir(result))
|
103 |
+
print(result.keys())
|
104 |
json_data = json.loads(result.raw)
|
105 |
json_search_results.append(json_data)
|
106 |
|