refactor: paths
Browse files
app.py
CHANGED
@@ -33,11 +33,11 @@ def slow_api_response(message, history, property_id="c0ced2220b87fc23762facf6171
|
|
33 |
api_response = api_response.encode().decode('unicode_escape')
|
34 |
print(api_response)
|
35 |
|
36 |
-
if property_id == 'development_one':
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
|
42 |
|
43 |
total_time = 5
|
|
|
33 |
api_response = api_response.encode().decode('unicode_escape')
|
34 |
print(api_response)
|
35 |
|
36 |
+
#if property_id == 'development_one':
|
37 |
+
response = json.loads(api_response)
|
38 |
+
api_response = response['next_actions']
|
39 |
+
api_response = api_response[0].get('value')
|
40 |
+
print(api_response)
|
41 |
|
42 |
|
43 |
total_time = 5
|