aaron-1015 3 rokov pred
rodič
commit
1498e04f4c
2 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. BIN
      __pycache__/main.cpython-39.pyc
  2. 2 1
      main.py

BIN
__pycache__/main.cpython-39.pyc


+ 2 - 1
main.py

@@ -30,7 +30,8 @@ from jose import JWTError, jwt
 from fastapi_jwt_auth import AuthJWT
 from fastapi_jwt_auth.exceptions import AuthJWTException
 from fastapi.security import OAuth2AuthorizationCodeBearer, OAuth2PasswordRequestForm
-
+import pymysql
+pymysql.install_as_MySQLdb()
 
 # app
 app = FastAPI()