m8chaa commited on
Commit
ee2300f
·
verified ·
1 Parent(s): 96e55ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -21,6 +21,14 @@ from watchdog.events import FileSystemEventHandler
21
  import os
22
  from threading import Thread
23
 
 
 
 
 
 
 
 
 
24
  # start application
25
  app = FastAPI()
26
 
@@ -891,13 +899,6 @@ async def sync_data(data_json: str = Form(...), user_id: str = Form(...)):
891
 
892
 
893
 
894
- from fastapi import FastAPI, HTTPException, Request
895
- from google.oauth2.credentials import Credentials
896
- from google_auth_oauthlib.flow import InstalledAppFlow
897
- from google.auth.transport.requests import Request as GoogleRequest
898
- from googleapiclient.discovery import build
899
- import os
900
- import json
901
 
902
 
903
 
 
21
  import os
22
  from threading import Thread
23
 
24
+ from google.oauth2.credentials import Credentials
25
+ from google_auth_oauthlib.flow import InstalledAppFlow
26
+ from google.auth.transport.requests import Request as GoogleRequest
27
+ from googleapiclient.discovery import build
28
+ import os
29
+ import json
30
+
31
+
32
  # start application
33
  app = FastAPI()
34
 
 
899
 
900
 
901
 
 
 
 
 
 
 
 
902
 
903
 
904