mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-08-17 02:10:31 +03:00
Feat/celery import (#2608)
# 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):
This commit is contained in:
parent
5c28f16a09
commit
287cbb3347
@ -7,6 +7,7 @@ from celery.schedules import crontab
|
||||
from celery_config import celery
|
||||
from fastapi import UploadFile
|
||||
from logger import get_logger
|
||||
from middlewares.auth.auth_bearer import AuthBearer
|
||||
from models.files import File
|
||||
from models.settings import get_supabase_client
|
||||
from modules.brain.integrations.Notion.Notion_connector import NotionConnector
|
||||
@ -27,6 +28,7 @@ logger = get_logger(__name__)
|
||||
onboardingService = OnboardingService()
|
||||
notification_service = NotificationService()
|
||||
brain_service = BrainService()
|
||||
auth_bearer = AuthBearer()
|
||||
|
||||
|
||||
@celery.task(name="process_file_and_notify")
|
||||
|
Loading…
Reference in New Issue
Block a user