Skip to content

Commit

Permalink
Switch Flask library from flask_restful to flask_restx in app.py
Browse files Browse the repository at this point in the history
Flask_restful library is replaced with flask_restx in app.py file to leverage extended functionalities provided by flask_restx. This change aims to refine the resource initialization and streamline the handling of database connections.
  • Loading branch information
maxachis committed May 25, 2024
1 parent eb55961 commit 91789ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from flask import Flask
from flask_restful import Api
from flask_restx import Api
from flask_cors import CORS
from resources.User import User
from resources.Login import Login
Expand Down

0 comments on commit 91789ac

Please sign in to comment.