To get a better understanding of the project I am working on. I provide a link to pastebin containing the README.md file.
I am working on the planned enhancement number 1.
I need help debugging the following error I'm getting when running docker-compose up :
celery_beat-1 | AttributeError: 'function' object has no attribute 'user_options' the celery_beat as well as the celery_worker are logging this error on the console. The api service runs fine. This is the docker-compose.yml file inside the root of the project.
For the rest of files I will also provide links to pastebin.
Modified app/init.py
Created a file app/celery.py
Created a file app/make_celery.py
Modified app/tasks.py
Modified Dockerfile
And as last, a the full traceback of the celery_worker service error: https://pastebin.com/hmGyBt20
I have been struggling with this for more than 30 hours already. I have read multiple sources online from the documation (Flask and Celery) to articles, to videos (PrettyPrinted's yt channel). I even asked multiple LLMs (GPT-01mini, Claude, Copilot). I can't seem to wrap my mind around as to why I am struggling so much to set this up. I can't take it anymore so I'm asking for help here.