mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-14 05:05:09 +03:00
11 lines
258 B
Python
11 lines
258 B
Python
from uuid import UUID
|
|
|
|
from models.brain_entity import BrainEntity
|
|
from models.settings import get_supabase_db
|
|
|
|
|
|
def get_brain_by_id(brain_id: UUID) -> BrainEntity | None:
|
|
supabase_db = get_supabase_db()
|
|
|
|
return supabase_db.get_brain_by_id(brain_id)
|