from sqlalchemy.dialects.postgresql.base import UUID from flask_marshmallow import Marshmallow # from itsdangerous import TimedJSONWebSignatureSerializer as Serializer # from application.schedule import clock from marshmallow_sqlalchemy import ModelSchema, field_for class AnonymousUser(AnonymousUserMixin): id = '00000001' def get_id(self): return '00000001' login_manager = LoginManager() login_manager.anonymous_u00ser = AnonymousUser mail = Mail() allows = Allows() admin = Admin(name='SHUhelper Violet', template_mode='bootstrap3') cache = Cache() redis_store = FlaskRedis(decode_responses=True) db = SQLAlchemy() db.UUID = UUID ma = Marshmallow() ma.field_for = field_for celery = Celery()