willm
04/18/2022, 6:44 AMpy
url: str | None = os.getenv("SUPABASE_URL")
key: str | None = os.getenv("SUPABASE_KEY")
print(url, key)
if not url or not key:
raise Exception("Missing SUPABASE_URL or SUPABASE_KEY")
supabase: Client = create_client(url, key)
print(supabase.table("table").select("*").execute())