mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 07:59:00 +03:00
8c7bd2ec16
This commit updates the code in `celery_monitor.py` to handle task success events. When a task with a status of `SUCCESS` is received, it sends a notification with a success status and a corresponding description. Additionally, if the event has a `knowledge_id`, it updates the knowledge status to `UPLOADED`. This change improves the handling of task success events and ensures that notifications and knowledge statuses are properly updated. Note: This commit message follows the established convention of starting with a verb in the imperative form, followed by a brief description of the changes. # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate): |
||
---|---|---|
.. | ||
.vscode | ||
api | ||
core | ||
docs | ||
supabase | ||
worker | ||
.dockerignore | ||
.gitignore | ||
ci-migration.sh | ||
Dockerfile | ||
Dockerfile.dev | ||
pyproject.toml | ||
README.md | ||
requirements-dev.lock | ||
requirements.lock |
backend
Describe your project here.