Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
e44f507
1
Parent(s):
a207445
Update google_db.py
Browse files- google_db.py +1 -9
google_db.py
CHANGED
@@ -4,9 +4,6 @@ import os
|
|
4 |
import asyncio
|
5 |
import aiohttp
|
6 |
|
7 |
-
from threading import Thread
|
8 |
-
|
9 |
-
|
10 |
api_variabl = os.getenv('api_key')
|
11 |
google_url = os.getenv('goo_url')
|
12 |
|
@@ -51,9 +48,4 @@ def save_db():
|
|
51 |
"err": err
|
52 |
}
|
53 |
|
54 |
-
return jsonify(response_data)
|
55 |
-
|
56 |
-
@app.route("/save_db", methods=['GET'])
|
57 |
-
def handle_save_db():
|
58 |
-
response = save_db()
|
59 |
-
return response
|
|
|
4 |
import asyncio
|
5 |
import aiohttp
|
6 |
|
|
|
|
|
|
|
7 |
api_variabl = os.getenv('api_key')
|
8 |
google_url = os.getenv('goo_url')
|
9 |
|
|
|
48 |
"err": err
|
49 |
}
|
50 |
|
51 |
+
return jsonify(response_data)
|
|
|
|
|
|
|
|
|
|