mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-12 00:24:05 +03:00
8172704b61
* feat: add brain library button * feat(Field): add inputClassName key * feat: add GET brains/public route * feat: add brains library layout * feat: add brain subscriber count
8 lines
206 B
Python
8 lines
206 B
Python
from models import get_supabase_db
|
|
from models.brain_entity import PublicBrain
|
|
|
|
|
|
def get_public_brains() -> list[PublicBrain]:
|
|
supabase_db = get_supabase_db()
|
|
return supabase_db.get_public_brains()
|