File size: 507 Bytes
c6abe34 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import asyncio
from app.services.supabase_client import SupabaseService
async def main():
service = SupabaseService()
orgs = await service.select("organizations")
if not orgs:
print("No organizations found.")
for org in orgs:
print(f"Org ID: {org['id']}")
print(f"Name: {org['name']}")
print(f"Competition Settings: {org.get('competition_settings')}")
print(f"Roster Settings: {org.get('roster_settings')}")
print("---")
asyncio.run(main())
|