13 lines
265 B
Python
13 lines
265 B
Python
|
from supabase import Client, create_client
|
||
|
from dotenv import load_dotenv
|
||
|
import os
|
||
|
|
||
|
load_dotenv()
|
||
|
|
||
|
URL = os.getenv("SUPABASE_IP")
|
||
|
# service key
|
||
|
KEY = os.getenv("SUPABASE_KEY")
|
||
|
|
||
|
class supaClient:
|
||
|
def __init__(self):
|
||
|
self.client = create_client(URL, KEY)
|