SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 92c98523cf654d622f8a411157da35962e382486
parent 88dfb8f898d61ac8159616cbc9b7e6ff7b8d1e74
Author: Kristaps Kaupe <kristaps@blogiem.lv>
Date:   Sat, 17 Sep 2022 12:01:09 +0300

Migrate from flask_restplus to flask_restx

Diffstat:
Mgateways/lightning_address.py | 2+-
Mrequirements.txt | 2+-
Msatsale.py | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gateways/lightning_address.py b/gateways/lightning_address.py @@ -1,5 +1,5 @@ from flask import request -from flask_restplus import Resource +from flask_restx import Resource import hashlib import logging diff --git a/requirements.txt b/requirements.txt @@ -6,7 +6,7 @@ requests==2.26.0 gunicorn==20.0.4 Pillow==9.0.0 protobuf==3.19.1 -flask_restplus==0.13.0 +flask_restx==0.5.1 Werkzeug==0.16.1 PySocks==1.7.1 toml==0.10.2 diff --git a/satsale.py b/satsale.py @@ -4,7 +4,7 @@ from flask import ( request, make_response ) -from flask_restplus import Resource, Api, fields +from flask_restx import Resource, Api, fields import time import os import uuid