2023-08-21 13:25:16 +03:00
|
|
|
from models import Prompt, get_supabase_db
|
2023-08-03 10:53:38 +03:00
|
|
|
|
|
|
|
|
|
|
|
def get_public_prompts() -> list[Prompt]:
|
|
|
|
"""
|
|
|
|
List all public prompts
|
|
|
|
"""
|
2023-08-03 21:24:42 +03:00
|
|
|
supabase_db = get_supabase_db()
|
|
|
|
return supabase_db.get_public_prompts()
|