python – Celery failing to connect to redis in Flask

I have a flask app with celery configured inside. This is the configuration flow: from flask import current_app as app from celery import Celery celery = Celery() from app.common.globals import celery celery = Celery(, broker=app.config[‘CELERY_BROKER_URL’], backend=app.config[‘CELERY_BACKEND_URL’]) celery.conf.update(app.config) def create_app(config_class=Config): app: Flask = Flask(__name__) app.config.from_object(config_class) logging.basicConfig(level=logging.INFO) debug = app.config[‘DEBUG’] if debug: app.logger.setLevel(logging.INFO) with app.app_context(): … Read more

Python flask API Main class test fails with “self.assertEqual”

I have build a flask API in Python. It will when you go to the home page display a page with information. The API works as I want, however my tests fails. All days: Today by ID: Today by month and day: * Debugger is active! * Debugger PIN: 790-993-637 Ran 1 … Read more

python – How to display a tooltip and how to refresh the downloadfolder with flask and jquery?

This is my, which decribes my sqllite database and all entries. Is the relationship correct? A person is uploading a file and all imputs of the data are saved in a sqllite databank. Which relationship I have to use? 1. one to many, one to one, many to many? Can someone explain me this … Read more