From f228db5b299d562f27ce7ef976f42042bc6bb73b Mon Sep 17 00:00:00 2001 From: inexcode Date: Wed, 16 Feb 2022 15:50:12 +0300 Subject: [PATCH] Bump version to 1.2.0 --- selfprivacy_api/app.py | 2 +- selfprivacy_api/resources/common.py | 5 ++--- setup.py | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/selfprivacy_api/app.py b/selfprivacy_api/app.py index 897b902..7a8a25e 100644 --- a/selfprivacy_api/app.py +++ b/selfprivacy_api/app.py @@ -68,7 +68,7 @@ def create_app(test_config=None): def spec(): if app.config["ENABLE_SWAGGER"] == "1": swag = swagger(app) - swag["info"]["version"] = "1.1.1" + swag["info"]["version"] = "1.2.0" swag["info"]["title"] = "SelfPrivacy API" swag["info"]["description"] = "SelfPrivacy API" swag["securityDefinitions"] = { diff --git a/selfprivacy_api/resources/common.py b/selfprivacy_api/resources/common.py index d771372..d54d954 100644 --- a/selfprivacy_api/resources/common.py +++ b/selfprivacy_api/resources/common.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 """Unassigned views""" -import subprocess -from flask_restful import Resource, reqparse +from flask_restful import Resource class ApiVersion(Resource): @@ -24,4 +23,4 @@ class ApiVersion(Resource): 401: description: Unauthorized """ - return {"version": "1.1.1"} + return {"version": "1.2.0"} diff --git a/setup.py b/setup.py index 918f8fe..e5a98b0 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="selfprivacy_api", - version="1.1.1", + version="1.2.0", packages=find_packages(), scripts=[ "selfprivacy_api/app.py",