better organization
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-11-26 08:06:16 +01:00
parent 71f4cddfc5
commit 20991dd50f
19 changed files with 391 additions and 308 deletions

View File

@@ -0,0 +1,17 @@
"""
Base resource with user handling
"""
__author__ = '@tormakris'
__copyright__ = "Copyright 2020, onSpot Team"
__module_name__ = "userstoreresource"
__version__text__ = "1"
from flask_restful import Resource
from utils.aes_encrypt import EncryptedUserRedis
from utils.config import ENCODED_SECRET_KEY
class UserStoreResource(Resource):
encryptor = EncryptedUserRedis(ENCODED_SECRET_KEY)