quivr/backend/models
Zineb El Bachiri 9aaedcff51
Fix/requests limiting (#980)
* 🗃️ Rename users table into user_daily_usage

* 💥 replace User model with UserIdentity model

* 🗃️ New UserDailyUsage class for database interaction

* 🐛 fix daily requests rate limiting per user

* 🐛 fix user stats and properties update

* ✏️ add typing and linting

* 🚚 rename user_dialy_usage Class  into user_usage & requests_count into daily_requests_count

* 🚑 fix some rebase errors
2023-08-21 14:05:13 +02:00
..
databases Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00
__init__.py Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00
brain_entity.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
brains_subscription_invitations.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
brains.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
chat.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
chats.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
files.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
prompt.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
settings.py feat(refacto): changed a bit of things to make better dx (#984) 2023-08-19 13:32:16 +02:00
sqlalchemy_repository.py Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00
user_identity.py Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00
user_usage.py Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00