-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add notifications table, and push notification on upload and crawl #1125
Conversation
mamadoudicko
commented
Sep 6, 2023
•
edited
edited
- Add notification table
- Create notification at the beginning of an upload and a crawl
- Update notification at the end of upload or crawl pocess
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Risk Level 2 - /home/runner/work/quivr/quivr/backend/routes/crawl_routes.py The changes involve adding new functionality to the Risk Level 2 - /home/runner/work/quivr/quivr/backend/models/databases/supabase/notifications.py The new code introduces a new class Risk Level 3 - /home/runner/work/quivr/quivr/backend/routes/upload_routes.py
Example: try:
upload_notification = add_notification(
CreateNotificationProperties(
action=\"UPLOAD\",
)
except Exception as e:
# handle exception try:
openai_api_key = get_user_identity(current_user.id).openai_api_key
except Exception as e:
# handle exception 🔒📁🐛 Powered by Code Review GPT |
…awl (#1125) * feat: add notifications table * feat: add Notification model * feat: add notification repositories * feat: add upload and crawl notifications * feat: update notification message