Skip to content

Commit

Permalink
removed flasgger
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed Feb 27, 2024
1 parent ecc2a27 commit 76e7ef8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions fedn/fedn/network/api/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from flasgger import Swagger
from flask import Flask, jsonify, request
from v1.client_routes import bp as client_bp
from v1.combiner_routes import bp as combiner_bp
Expand Down Expand Up @@ -34,17 +33,6 @@
app.register_blueprint(combiner_bp)
app.register_blueprint(round_bp)

template = {
"swagger": "2.0",
"info": {
"title": "FEDn API",
"description": "API for the FEDn network.",
"version": "0.0.1"
}
}

swagger = Swagger(app, template=template)


@app.route("/get_model_trail", methods=["GET"])
def get_model_trail():
Expand Down
1 change: 0 additions & 1 deletion fedn/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"bokeh<3.0.0",
"networkx",
"grpcio-health-checking~=1.57.0",
"flasgger==0.9.5"
],
license='Apache 2.0',
zip_safe=False,
Expand Down

0 comments on commit 76e7ef8

Please sign in to comment.