mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 09:32:22 +03:00
5bbc72eb09
# Description - db for composite brains & repository - composite brains creation
19 lines
500 B
Python
19 lines
500 B
Python
from logger import get_logger
|
|
from models.databases.supabase import BrainSubscription, File, UserUsage, Vector
|
|
|
|
logger = get_logger(__name__)
|
|
|
|
|
|
class SupabaseDB(
|
|
UserUsage,
|
|
File,
|
|
BrainSubscription,
|
|
Vector,
|
|
):
|
|
def __init__(self, supabase_client):
|
|
self.db = supabase_client
|
|
UserUsage.__init__(self, supabase_client)
|
|
File.__init__(self, supabase_client)
|
|
BrainSubscription.__init__(self, supabase_client)
|
|
Vector.__init__(self, supabase_client)
|