Quellcode durchsuchen

add nest asyncio

ming vor 3 Jahren
Ursprung
Commit
596c47eacc
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. BIN
      api/__pycache__/main.cpython-39.pyc
  2. 2 0
      api/main.py

BIN
api/__pycache__/main.cpython-39.pyc


+ 2 - 0
api/main.py

@@ -13,6 +13,8 @@ from oauth2client.service_account import ServiceAccountCredentials
 import gspread
 import asyncio
 app = FastAPI()
+import nest_asyncio
+nest_asyncio.apply()
 
 origins = [
     "https://hhh.com.tw"